[mythtv] Ticket #7964: Predictively skip frames to smooth out timestretch

Tom Lichti redpepperracing at gmail.com
Thu May 6 00:38:30 UTC 2010


On Wed, May 5, 2010 at 8:21 PM, Mark Spieth <mark at digivation.com.au> wrote:
>
>> I'm still not having much luck. For instance, in the reject file I have
>> this:
>>
>> -    audio_lock.lock();
>>      if (audioOutput&&  normal_speed)
>>      {
>> -        long long currentaudiotime = audioOutput->GetAudiotime();
>> -        audio_lock.unlock();
>>  #if 1
>> -        VERBOSE(VB_PLAYBACK+VB_TIMESTAMP, QString(
>> +        VERBOSE(VB_PLAYBACK+VB_TIMESTAMP, LOC + QString(
>>
>>
>> but in my NuppelVideoPlayer.cpp I have this
>>
>>     audio_lock.lock();
>>     if (audioOutput&&  normal_speed)
>>     {
>>         long long currentaudiotime = audioOutput->GetAudiotime();
>>         audio_lock.unlock();
>> #if 0
>>         VERBOSE(VB_PLAYBACK+VB_TIMESTAMP, QString(
>>
>> I don't have the string '#if 1' in the file at all, which may be part
>> of the problem?
>>
>> As you can probably tell, I'm not a coder, I know just enough to get
>> myself in trouble... :)
>>
>> If you can generate a patch for current trunk, it would be much obliged.
>>
>
> yes in the patch change
> #if 1 to #if 0 and reapply and it should work. sorry about that.
>
> cheers
> mark

That did it...thanks! Now I get to re-compile!

Tom


More information about the mythtv-dev mailing list