[vlc] Cannot play sound from Apple HTTP stream and may be the solution

某因幡 tewilove at gmail.com
Tue May 17 09:22:44 CEST 2011


Hi, I tested recent ffmpeg and tried an Apple HTTP stream.
The video looks OK. But there is no sound.

And then I made the following change.

diff --git a/modules/codec/avcodec/avcodec.c b/modules/codec/avcodec.c
--- a/modules/codec/avcodec/avcodec.c
+++ b/modules/codec/avcodec/avcodec.c
@@ -400,8 +400,7 @@ int ffmpeg_OpenCodec( decoder_t *p_dec )
     {
         if( p_sys->i_codec_id == CODEC_ID_VC1 ||
             p_sys->i_codec_id == CODEC_ID_VORBIS ||
-            p_sys->i_codec_id == CODEC_ID_THEORA ||
-            p_sys->i_codec_id == CODEC_ID_AAC )
+            p_sys->i_codec_id == CODEC_ID_THEORA )
         {
             msg_Warn( p_dec, "waiting for extra data for codec %s",
                       p_sys->psz_namecodec );

The problem seems to be disappeared.
Wondering am I doing the right thing.



-- 
language: Chinese, Japanese, English
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20110517/fa3d308f/attachment.html>


More information about the vlc mailing list