[mythtv-users] [mythtv] Problem Audio on Freeview HD BBC Channels
watkinshome at gmail.com
Thu Oct 6 11:40:38 UTC 2011
> I've been trying out a simple patch that fixes the problem for me.
If fixes things for me too (running 0.25). Many thanks.
> --- a/mythtv/libs/libmythtv/avformatdecoder.cpp
> +++ b/mythtv/libs/libmythtv/avformatdecoder.cpp
> @@ -4104,6 +4104,11 @@ bool AvFormatDecoder::ProcessAudioPacket(AVStream
> *curstream, AVPacket *pkt,
> if (ret < 0)
> LOG(VB_GENERAL, LOG_ERR, LOC + "Unknown audio decoding
> + // Hack - handle audio change on FreeView HD
> + avcodec_close(ctx);
> + ctx->codec = 0;
> + HandleStreamChange(this);
> + // Hack
> return false;
> I thought it was a hack so I didn't open a ticket for it.
There were 16 occurences of the word "hack" in that file before
applying the patch, so I'm not too bothered about adding a couple
More information about the mythtv-users