diff options
author | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-26 19:08:29 +0000 |
---|---|---|
committer | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-26 19:08:29 +0000 |
commit | c8adafcf3b7c1dfed971792997d635e976f41374 (patch) | |
tree | 4e5148b82ce10ff5a3b6d30fb89e44688c7b665e /libvo | |
parent | ecd2116704e1b523e56be93b1a5e71f7610732ce (diff) | |
download | mpv-c8adafcf3b7c1dfed971792997d635e976f41374.tar.bz2 mpv-c8adafcf3b7c1dfed971792997d635e976f41374.tar.xz |
support for new ivtv api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22353 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_ivtv.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libvo/vo_ivtv.c b/libvo/vo_ivtv.c index f17de21ef1..b3706717f1 100644 --- a/libvo/vo_ivtv.c +++ b/libvo/vo_ivtv.c @@ -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) { |