[mythtv] [mythtv-commits] Ticket #11729: video play double speed (too fast), audio plays normal speed, nouveau driver only

Mark Spieth mark at digivation.com.au
Mon Aug 26 10:35:02 UTC 2013


On 26/08/2013 11:53 AM, Jean-Yves Avenard wrote:
> Hi
>
> On 12 August 2013 08:46, Mark Spieth <mark at digivation.com.au> wrote:
>>> Because the last part is wrong.... I mentioned that earlier. Along the
>>> analysis of why
>> I revisited this yesterday and I think I found the root cause.
>>
>> If upmixer is active, final_frames does not include the frames that
>> CopyWithUpmix gobbles and doesnt return but SetAudiotime compensates for it
>> anyway.
>> I moved 'final_frames += frames' to before CopyWithUpmix call and it works
>> perfectly.
> revisiting the issue as someone else is mentioning an issue with the
> nouveau driver..
>
> You lost me as to what exactly you changed.
>
> Are you still referring to ticket #11440 and the patch, or just moving
>
> frames_final += frames above CopyWithUpmix in the current code with no
> further modification?
Yes The latter. Move above CopyWithUpmix. Fixes it completely AFAICT
As per your test.patch

this is not nouveau specific though. but it does have the effect of 
speedup and slow down if upmix is active (also for upmix with encode)
> And what about the audio corruption you mentioned before ?
I didnt get a chance to investigate yet. Always in use or no time.
Putting some code in place which will allow me to check without 
impacting the system.

mark



More information about the mythtv-dev mailing list