[MPlayer-dev-eng] [PATCH] fix live555 sound for some streams

compn tempn at twmi.rr.com
Fri Aug 8 20:36:12 CEST 2008


just relaying a patch that was pointed out to me in #mplayerdev.
more info here :
http://thread.gmane.org/gmane.comp.video.mplayer.user/56893/focus=56894

[16:50] <Olaus> Do I still need to add "d_audio->id = sh_audio->aid" in demux_rtp_codec.cpp in order to get some streams to work?
[17:00] <Olaus> A h264-stream, with AAC audio. Now it compiled, but since I did not add the above mentioned line, I got no sound.
[17:03] <Olaus> Changing, recompiling. Now the sound works.

Index: demux_rtp_codec.cpp
===================================================================
--- demux_rtp_codec.cpp (revision 26877)
+++ demux_rtp_codec.cpp (working copy)
@@ -198,6 +198,7 @@
   sh_audio->wf = wf;
   demux_stream_t* d_audio = demuxer->audio;
   d_audio->sh = sh_audio; sh_audio->ds = d_audio;
+  d_audio->id = sh_audio->aid;

   wf->nChannels = subsession->numChannels();

delicious inlined patch.
-compn



More information about the MPlayer-dev-eng mailing list