diff options
author | attila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-10-22 16:08:26 +0000 |
---|---|---|
committer | attila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-10-22 16:08:26 +0000 |
commit | 65e06f1c5f9e2cf373178dcc0946b3be56deaebf (patch) | |
tree | eacb2d13e1d8825541c8c09ae4656a1dcaaa6f3d | |
parent | ed0af8844ae1a89b758ff30f588cfef20c598efc (diff) | |
download | mpv-65e06f1c5f9e2cf373178dcc0946b3be56deaebf.tar.bz2 mpv-65e06f1c5f9e2cf373178dcc0946b3be56deaebf.tar.xz |
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
-rw-r--r-- | libmpdemux/demux_rtp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/demux_rtp.cpp b/libmpdemux/demux_rtp.cpp index 1e15063027..aaa525fc4c 100644 --- a/libmpdemux/demux_rtp.cpp +++ b/libmpdemux/demux_rtp.cpp @@ -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, |