libtriple: implement fast forward in cPlayback()

First try at implementing fast forward. Needs more love.
Reverse does not work yet, setting speed to negative values
right now simply resets to "play" mode.
This commit is contained in:
Stefan Seyfried
2010-08-14 16:10:45 +02:00
parent 8542cd14aa
commit fe6666cda7
3 changed files with 138 additions and 27 deletions

View File

@@ -644,3 +644,9 @@ void cVideo::routeVideo(int standby)
perror("IOC_AVS_ROUTE_ENC2TV");
close(avsfd);
}
void cVideo::FastForwardMode(int mode)
{
lt_debug("cVideo::%s\n", __FUNCTION__);
fop(ioctl, MPEG_VID_FASTFORWARD, mode);
}