Mercurial > mplayer.hg
changeset 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 | ef3748be83ea |
children | 78f2fbe31c5d |
files | libmpdemux/demux_rtp_codec.cpp |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
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');