Skip to content

Commit

Permalink
v4l2: set visible height
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsaman committed Dec 11, 2013
1 parent c552058 commit df8f47f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/access/v4l2/demux.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit df8f47f

Please sign in to comment.