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

Lou Logan git at videolan.org
Tue Jun 19 03:26:55 EEST 2018


ffmpeg | branch: master | Lou Logan <lou at lrcd.com> | Thu Jun 14 13:12:27 2018 -0800| [98e18910a3f19a1139654b2d14d0f3b2b3625cd1] | committer: Lou Logan

avdevice/v4l2enc: add video4linux2 name alias

Makes the v4l2 outdev name consistent with the v4l2 indev name.

Signed-off-by: Lou Logan <lou at lrcd.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=98e18910a3f19a1139654b2d14d0f3b2b3625cd1
---

 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,



More information about the ffmpeg-cvslog mailing list