avdevice/v4l2enc: add video4linux2 name alias
authorLou Logan <lou@lrcd.com>
Thu, 14 Jun 2018 21:12:27 +0000 (13:12 -0800)
committerLou Logan <lou@lrcd.com>
Tue, 19 Jun 2018 00:26:23 +0000 (16:26 -0800)
Makes the v4l2 outdev name consistent with the v4l2 indev name.

Signed-off-by: Lou Logan <lou@lrcd.com>
libavdevice/v4l2enc.c

index 85200d0..1c36f81 100644 (file)
@@ -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,