[mythtv] AC3 passthrough and timestretch problems
Dan Wilga
mythtv-dev2 at dwilga-linux1.amherst.edu
Mon May 5 13:25:16 UTC 2008
At 6:34 PM -0600 5/2/08, John P Poet wrote:
>On Fri, May 2, 2008 at 6:06 PM, John P Poet <jppoet at gmail.com> wrote:
>> On Fri, May 2, 2008 at 12:19 AM, Mark Spieth <mark at digivation.com.au> wrote:
>> > could you also try this one please. this is my prefferred fix.
>> > remove the other patch.
>> >
>> > thanks
>> >
>> > mark
>> >
>> > --- audiooutputbase.cpp (revision 17223)
>> > +++ audiooutputbase.cpp (working copy)
>> > @@ -121,7 +121,8 @@
>> > void AudioOutputBase::SetStretchFactorLocked(float
>>laudio_stretchfactor)
>> > {
>> > effdspstretched = (int)((float)effdsp / laudio_stretchfactor);
>> > - if (audio_stretchfactor != laudio_stretchfactor)
>> > + if ((audio_stretchfactor != laudio_stretchfactor) ||
>> > + (pSoundStretch == NULL))
>> > {
>> > audio_stretchfactor = laudio_stretchfactor;
>> > if (pSoundStretch)
>>
>>
>> Yes, that also works.
>
>Oops. Unfortunately, mythfrontend randomly segfaults with this patch
>applied. I will re-test with your original patch.
Hm. I also started to get random MFE crashes after applying this
patch, but I assumed it was not related. They happen at irregular
intervals, one to two minutes after playback starts.
Now that I see Mark & Daniel have committed several revisions based
on three different issues, I'll try various combinations of them
tonight, and try to do a backtrace if there's still a problem.
--
Dan Wilga "Ook."
More information about the mythtv-dev
mailing list