[MPlayer-dev-eng] [PATCH] Add MIME type video/h263-2000 for rtsp streaming

Choon Yoong Goh choonyoong at gmail.com
Fri Oct 13 08:01:51 CEST 2006


Hi,

I just found that mplayer can't stream a file with video MIME type of
h263-2000, so I just make a patch to add it.

Thanks.

Regards,
Choon Yoong
-------------- next part --------------
Index: libmpdemux/demux_rtp_codec.cpp
===================================================================
--- libmpdemux/demux_rtp_codec.cpp	(revision 20198)
+++ libmpdemux/demux_rtp_codec.cpp	(working copy)
@@ -38,7 +38,8 @@
 	     strcmp(subsession->codecName(), "MP2T") == 0) {
     flags |= RTPSTATE_IS_MPEG12_VIDEO|RTPSTATE_IS_MULTIPLEXED;
   } else if (strcmp(subsession->codecName(), "H263") == 0 ||
-	     strcmp(subsession->codecName(), "H263-1998") == 0) {
+	     strcmp(subsession->codecName(), "H263-1998") == 0 ||
+	     strcmp(subsession->codecName(), "H263-2000") == 0) {
     bih->biCompression = sh_video->format
       = mmioFOURCC('H','2','6','3');
     needVideoFrameRate(demuxer, subsession);


More information about the MPlayer-dev-eng mailing list