Commit 4e5b9f75 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

v4l2: also print visible dimensions in the logs

parent 3435684d
......@@ -404,7 +404,9 @@ static int InitVideo (demux_t *demux, int fd, uint32_t caps)
es_fmt.video.i_frame_rate_base = parm.parm.capture.timeperframe.numerator;
GetAR (fd, &es_fmt.video.i_sar_num, &es_fmt.video.i_sar_den);
msg_Dbg (demux, "added new video ES %4.4s %ux%u", (char *)&es_fmt.i_codec,
msg_Dbg (demux, "added new video ES %4.4s %ux%u (%ux%u)",
(char *)&es_fmt.i_codec,
es_fmt.video.i_visible_width, es_fmt.video.i_visible_height,
es_fmt.video.i_width, es_fmt.video.i_height);
msg_Dbg (demux, " frame rate: %u/%u", es_fmt.video.i_frame_rate,
es_fmt.video.i_frame_rate_base);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment