Commit e8c5ce1a authored by Aman Gupta's avatar Aman Gupta

avcodec/v4l2_m2m: log planar mode used by driver

Signed-off-by: 's avatarAman Gupta <aman@tmm1.net>
parent c95b1277
......@@ -76,7 +76,9 @@ static int v4l2_prepare_contexts(V4L2m2mContext* s)
if (ret < 0)
return ret;
av_log(s->avctx, AV_LOG_INFO, "driver '%s' on card '%s'\n", cap.driver, cap.card);
av_log(s->avctx, AV_LOG_INFO, "driver '%s' on card '%s' in %s mode\n", cap.driver, cap.card,
v4l2_mplane_video(&cap) ? "mplane" :
v4l2_splane_video(&cap) ? "splane" : "unknown");
if (v4l2_mplane_video(&cap)) {
s->capture.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
......
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