[vlc-commits] v4l2: set visible height
Jean-Paul Saman
git at videolan.org
Wed Dec 11 15:16:11 CET 2013
vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Wed Dec 11 15:14:40 2013 +0100| [df8f47f62c90526ec61d8c31cf9d574affbfdd27] | committer: Jean-Paul Saman
v4l2: set visible height
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df8f47f62c90526ec61d8c31cf9d574affbfdd27
---
modules/access/v4l2/demux.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/access/v4l2/demux.c b/modules/access/v4l2/demux.c
index 73af8ce..5ca21a8 100644
--- a/modules/access/v4l2/demux.c
+++ b/modules/access/v4l2/demux.c
@@ -398,6 +398,7 @@ static int InitVideo (demux_t *demux, int fd, uint32_t caps)
es_fmt.video.i_width = fmt.fmt.pix.bytesperline / selected->bpp;
else
es_fmt.video.i_width = fmt.fmt.pix.width;
+ es_fmt.video.i_visible_height =
es_fmt.video.i_height = fmt.fmt.pix.height;
es_fmt.video.i_frame_rate = parm.parm.capture.timeperframe.denominator;
es_fmt.video.i_frame_rate_base = parm.parm.capture.timeperframe.numerator;
More information about the vlc-commits
mailing list