mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 00:42:57 +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:
parent
ecd2116704
commit
c8adafcf3b
@ -78,9 +78,11 @@ ivtv_reset (int blank_screen)
|
|||||||
{
|
{
|
||||||
struct ivtv_cfg_stop_decode sd;
|
struct ivtv_cfg_stop_decode sd;
|
||||||
struct ivtv_cfg_start_decode sd1;
|
struct ivtv_cfg_start_decode sd1;
|
||||||
|
int flags = 0;
|
||||||
|
|
||||||
sd.hide_last = blank_screen;
|
if (blank_screen)
|
||||||
sd.pts_stop = 0;
|
flags |= IVTV_STOP_FL_HIDE_FRAME;
|
||||||
|
sd.flags = flags;
|
||||||
|
|
||||||
if (ioctl (ivtv_fd, IVTV_IOC_STOP_DECODE, &sd) < 0)
|
if (ioctl (ivtv_fd, IVTV_IOC_STOP_DECODE, &sd) < 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user