mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avcodec/v4l2_m2m: Fix typo in log message and cosmetics
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
This commit is contained in:
parent
17ece3f745
commit
8578433d20
@ -264,8 +264,8 @@ int ff_v4l2_m2m_codec_full_reinit(V4L2m2mContext *s)
|
||||
|
||||
ret = ff_v4l2_context_set_status(&s->capture, VIDIOC_STREAMOFF);
|
||||
if (ret) {
|
||||
av_log(log_ctx, AV_LOG_ERROR, "capture VIDIOC_STREAMOFF\n");
|
||||
goto error;
|
||||
av_log(log_ctx, AV_LOG_ERROR, "capture VIDIOC_STREAMOFF\n");
|
||||
goto error;
|
||||
}
|
||||
|
||||
/* release and unmmap the buffers */
|
||||
|
@ -83,7 +83,7 @@ static inline int v4l2_get_ext_ctrl(V4L2m2mContext *s, unsigned int id, signed i
|
||||
|
||||
ret = ioctl(s->fd, VIDIOC_G_EXT_CTRLS, &ctrls);
|
||||
if (ret < 0) {
|
||||
av_log(s->avctx, AV_LOG_WARNING, "Failed to set %s\n", name);
|
||||
av_log(s->avctx, AV_LOG_WARNING, "Failed to get %s\n", name);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user