1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 10:02:17 +00:00

increase the max RTP packet size to 5MB as modern Elphel

cameras do produce such huge packets.
Requested by Alexandre Poltorak


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27810 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
attila 2008-10-22 16:08:26 +00:00
parent ed0af8844a
commit 65e06f1c5f

View File

@ -371,7 +371,7 @@ extern "C" void demux_close_rtp(demuxer_t* demuxer) {
////////// Extra routines that help implement the above interface functions:
#define MAX_RTP_FRAME_SIZE 50000
#define MAX_RTP_FRAME_SIZE 5000000
// >= the largest conceivable frame composed from one or more RTP packets
static void afterReading(void* clientData, unsigned frameSize,