[Mplayer-cvslog] CVS: 0_90/libmpdemux video.c,1.34,1.35
Arpi of Ize
arpi at mplayerhq.hu
Fri Feb 21 20:41:01 CET 2003
Update of /cvsroot/mplayer/0_90/libmpdemux
In directory mail:/var/tmp.root/cvs-serv6853
Modified Files:
video.c
Log Message:
100l - fix live.com support for mpeg 1/2 files
Index: video.c
===================================================================
RCS file: /cvsroot/mplayer/0_90/libmpdemux/video.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- video.c 2 Feb 2003 14:02:32 -0000 1.34
+++ video.c 21 Feb 2003 19:40:59 -0000 1.35
@@ -82,13 +82,6 @@
#endif
break;
}
-#ifdef STREAMING_LIVE_DOT_COM
- case DEMUXER_TYPE_RTP:
- // If the RTP stream is a MPEG stream, then we use this code to check
- // for MPEG headers:
- if (!demux_is_mpeg_rtp_stream(d_video->demuxer)) break;
- // otherwise fall through to...
-#endif
case DEMUXER_TYPE_MPEG4_ES: {
videobuf_len=0; videobuf_code_len=0;
mp_msg(MSGT_DECVIDEO,MSGL_V,"Searching for Video Object Start code... ");fflush(stdout);
@@ -129,6 +122,13 @@
sh_video->format=0x10000004;
break;
}
+#ifdef STREAMING_LIVE_DOT_COM
+ case DEMUXER_TYPE_RTP:
+ // If the RTP stream is a MPEG stream, then we use this code to check
+ // for MPEG headers:
+ if (!demux_is_mpeg_rtp_stream(d_video->demuxer)) break;
+ // otherwise fall through to...
+#endif
case DEMUXER_TYPE_PVA:
case DEMUXER_TYPE_MPEG_ES:
case DEMUXER_TYPE_MPEG_PS: {
More information about the MPlayer-cvslog
mailing list