Loggytronic Forum

VOMP => VOMP General / MVP => Topic started by: ravageng on August 06, 2006, 19:38:03

Title: PATCH: JumpPlay (needs cuttingMarks 0.24 version 0.3)
Post by: ravageng on August 06, 2006, 19:38:03
Hello,

I'm using the cuttingMarks-Patch and it works well. But skipping commercials by hand isn't that nice.  :o
So I wrote this simple patch to enable JumpPlay, which skips the ads automagically (I hope at least).  :P

The patch appplies on top of current cvs + cuttingMarks 0.24 version 0.3.

Please feel free to include where ever you want.  I've you have any questions - just ask, leave comments, ...

btw: Also it loads cuttingMarks when pressing PLAY to resume in recordings list and not selection play or resume in menu.

Bye.
Title: Re: PATCH: JumpPlay (needs cuttingMarks 0.24 version 0.3)
Post by: ravageng on August 06, 2006, 20:21:04
Arrg. I missed four lines in the patch.  :-\

In client/vvideorec.cc:505 please add these line after applying the patch:
        //XXX: really ensure we were jumping already until this function is called again and jumping again to the same mark
        //Maybe remember the currentFrameNum?
        timers->setTimerD(this, 3, 10, 0);
        break;

I'll prepare a complete new patch, when the changes proven stable.

Sorry for that.