[FFmpeg-devel] [PATCH] avdevice/v4l2enc: add video4linux2 name alias

Lou Logan lou at lrcd.com
Fri Jun 15 00:39:04 EEST 2018


Makes v4l2 indev name consistent with the v4l2 indev.

Signed-off-by: Lou Logan <lou at lrcd.com>
---
 libavdevice/v4l2enc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavdevice/v4l2enc.c b/libavdevice/v4l2enc.c
index 85200d0a36..1c36f81f90 100644
--- a/libavdevice/v4l2enc.c
+++ b/libavdevice/v4l2enc.c
@@ -106,7 +106,7 @@ static const AVClass v4l2_class = {
 };
 
 AVOutputFormat ff_v4l2_muxer = {
-    .name           = "v4l2",
+    .name           = "video4linux2,v4l2",
     .long_name      = NULL_IF_CONFIG_SMALL("Video4Linux2 output device"),
     .priv_data_size = sizeof(V4L2Context),
     .audio_codec    = AV_CODEC_ID_NONE,
-- 
2.17.1



More information about the ffmpeg-devel mailing list