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

Tom Lichti redpepperracing at gmail.com
Thu May 6 00:10:24 UTC 2010


On Wed, May 5, 2010 at 8:01 PM, Mark Spieth <mark at digivation.com.au> wrote:
>
>> I think that's a different hunk, the one I am looking at is around
>> line 2583 in NuppelVideoPlayer.cpp, around this function:
>>
>> void NuppelVideoPlayer::DisplayPauseFrame(void)
>>
>
> in this function,
> all frame_interval = sets are replaced by a call to SetFrameInterval()
>
> If people are having trouble applying it to trunk, let me know and Ill move
> the patch down in my patch list and regenerate. 0.23-fixes I cant comment
> on. :-)

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.


More information about the mythtv-dev mailing list