module-rtp: Limit actual max buffer size to an integer multiple of stride

Opus and MIDI code get TODOs added, since it is currently unclear how to
implement that fix for them.
This commit is contained in:
Carlos Rafael Giani 2025-08-03 20:10:25 +02:00 committed by Wim Taymans
parent e5be9cce4f
commit c9a8b8629f
4 changed files with 58 additions and 15 deletions

View file

@ -7,7 +7,8 @@
#include <opus/opus.h>
#include <opus/opus_multistream.h>
/* TODO: Direct timestamp mode here may require a rework. See audio.c for a reference. */
/* TODO: Direct timestamp mode here may require a rework. See audio.c for a reference.
* Also check out the usage of actual_max_buffer_size in audio.c. */
static void rtp_opus_process_playback(void *data)
{