[mythtv-users] DTS Passthrough
mythtv
mythtv at moasat.dyndns.org
Wed Jun 30 13:37:20 UTC 2010
> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org
> [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of
> Jean-Yves Avenard
> Sent: Wednesday, June 30, 2010 7:01 AM
> To: Discussion about mythtv
> Subject: Re: [mythtv-users] DTS Passthrough
>
> Hi
>
> Here is the fix:
>
> Index: libs/libmythtv/avformatdecoder.cpp
> ===================================================================
> --- libs/libmythtv/avformatdecoder.cpp (revision 25221)
> +++ libs/libmythtv/avformatdecoder.cpp (working copy)
> @@ -4713,6 +4713,13 @@
> audioOut.do_passthru);
>
> GetNVP()->ReinitAudio();
> + if (using_passthru != DoPassThrough(codec_ctx))
> + {
> + // detected audio capabilities changed half-way
> + // recheck audio stream
> + VERBOSE(VB_AUDIO, LOC + "Audio config changed. Rescanning");
> + return SetupAudioStream();
> + }
>
> if (LCD *lcd = LCD::Get())
> {
Thanks! I'll give it a try tonight after work and report back.
More information about the mythtv-users
mailing list