1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 16:33:02 +00:00

support for new ivtv api

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22353 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ben 2007-02-26 19:08:29 +00:00
parent ecd2116704
commit c8adafcf3b

View File

@ -78,9 +78,11 @@ ivtv_reset (int blank_screen)
{
struct ivtv_cfg_stop_decode sd;
struct ivtv_cfg_start_decode sd1;
int flags = 0;
sd.hide_last = blank_screen;
sd.pts_stop = 0;
if (blank_screen)
flags |= IVTV_STOP_FL_HIDE_FRAME;
sd.flags = flags;
if (ioctl (ivtv_fd, IVTV_IOC_STOP_DECODE, &sd) < 0)
{