[mythtv] 0.18 Choppy audio and video on some uk freeview dvbchannels

Peter pleeke at gmail.com
Wed Apr 20 07:56:33 UTC 2005


On 4/19/05, Taylor Jacob <rtjacob at earthlink.net> 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


More information about the mythtv-dev mailing list