summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-22 16:08:26 +0000
committerattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-22 16:08:26 +0000
commit65e06f1c5f9e2cf373178dcc0946b3be56deaebf (patch)
treeeacb2d13e1d8825541c8c09ae4656a1dcaaa6f3d /libmpdemux
parented0af8844ae1a89b758ff30f588cfef20c598efc (diff)
downloadmpv-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
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_rtp.cpp2
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,