diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-08-16 23:40:51 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-08-16 23:40:51 +0000 |
commit | 16793d27a748c1f117192d1f949705d05d42ad65 (patch) | |
tree | 44a1b55fdab1273f6a14d22fd8c65c33d8cb48b3 /libmpdemux | |
parent | ba40bf76b684acaab7ed3592d6bd473a22732717 (diff) |
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
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19421 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demux_rtp_codec.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmpdemux/demux_rtp_codec.cpp b/libmpdemux/demux_rtp_codec.cpp index 76ce3f6a42..bc0d63b36b 100644 --- a/libmpdemux/demux_rtp_codec.cpp +++ b/libmpdemux/demux_rtp_codec.cpp @@ -42,6 +42,10 @@ void rtpCodecInitialize_video(demuxer_t* demuxer, 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'); |