[MPlayer-dev-eng] Patch for hi resolution network video

Sergey Khlutchin Sergey.Khlutchin at gmail.com
Sat Jul 16 21:11:01 CEST 2005


Hi All!

I think now comes time for hi resolution video. In particular
RTP stream produced by our network cameras can contain frames with more than 1MB size.
Therefore this small change is necessary to include in future release.

diff -durN MPlayer-1.0pre7/libmpdemux/demux_rtp.cpp MPlayer-1.0pre7-elphel-1/libmpdemux/demux_rtp.cpp
--- MPlayer-1.0pre7/libmpdemux/demux_rtp.cpp    2004-07-20 07:12:08.000000000 +0500
+++ MPlayer-1.0pre7-elphel-1/libmpdemux/demux_rtp.cpp   2005-04-17 16:30:30.000000000 +0500
@@ -412,7 +412,7 @@

  ////////// Extra routines that help implement the above interface functions:

-#define MAX_RTP_FRAME_SIZE 50000
+#define MAX_RTP_FRAME_SIZE 2000000
      // >= the largest conceivable frame composed from one or more RTP packets

  static void afterReading(void* clientData, unsigned frameSize,

--------
Sergey Khlutchin
elphel




More information about the MPlayer-dev-eng mailing list