On 4/19/05, Taylor Jacob <[EMAIL PROTECTED]> wrote:
<snip>
> 
> I need to clarify.. Comment out this entire piece of code..
> 
>     for (int i = ic->nb_streams - 1; i >= 0; i--)
>     {
>         AVStream *st = ic->streams[i];
>         if (st->codec.codec_type == CODEC_TYPE_AUDIO)
>         {
>             if (st->codec.codec)
>                 avcodec_close(&st->codec);
>             av_remove_stream(ic, st->id);
>         }
>     }
> 
> Not just the av_remove_stream..
> 
> 

Just some feedback for Taylor, now I've commented out the above for
loop properly in avformatdecoder, I no longer lose audio when changing
channels with the same audio PID (changing channels to a no-existant
channel and falling back to the original channel in liveTV). (I'm
using TS mode, with SW decode currently & DVB-T).

Many thanks
Peter
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to