Mercurial > mplayer.hg
diff libmpdemux/demux_rtp_codec.cpp @ 19415:95ebc082c918
Simplistic attempt to make H.264 over RTSP work.
Did not work for me, but reason is unclear.
This at least moves things one step step closer to working
| author | reimar |
|---|---|
| date | Wed, 16 Aug 2006 23:40:51 +0000 |
| parents | 56a5f69e9b35 |
| children | 8f5c762ca6d9 |
line wrap: on
line diff
--- a/libmpdemux/demux_rtp_codec.cpp Wed Aug 16 23:36:33 2006 +0000 +++ b/libmpdemux/demux_rtp_codec.cpp Wed Aug 16 23:40:51 2006 +0000 @@ -42,6 +42,10 @@ bih->biCompression = sh_video->format = mmioFOURCC('H','2','6','3'); needVideoFrameRate(demuxer, subsession); + } else if (strcmp(subsession->codecName(), "H264") == 0) { + bih->biCompression = sh_video->format + = mmioFOURCC('H','2','6','4'); + needVideoFrameRate(demuxer, subsession); } else if (strcmp(subsession->codecName(), "H261") == 0) { bih->biCompression = sh_video->format = mmioFOURCC('H','2','6','1');
