From 76834848cf126797b4b59af7f2389f3c273f342e Mon Sep 17 00:00:00 2001 From: Christophe Massiot Date: Fri, 21 Jan 2005 15:22:45 +0000 Subject: [PATCH] * modules/access/pvr/pvr.c: Fixed width/height selection with latest ivtv drivers. --- modules/access/pvr/pvr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/access/pvr/pvr.c b/modules/access/pvr/pvr.c index fe14293de9..79cc45db58 100644 --- a/modules/access/pvr/pvr.c +++ b/modules/access/pvr/pvr.c @@ -509,6 +509,7 @@ static int Open( vlc_object_t * p_this ) /* set the picture size */ if ( p_sys->i_width != -1 || p_sys->i_height != -1 ) { + vfmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; if ( ioctl( p_sys->i_fd, VIDIOC_G_FMT, &vfmt ) < 0 ) { msg_Warn( p_access, "VIDIOC_G_FMT failed" ); -- 2.39.2