1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avdevice/v4l2enc: add video4linux2 name alias

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

Signed-off-by: Lou Logan <lou@lrcd.com>
This commit is contained in:
Lou Logan 2018-06-14 13:12:27 -08:00
parent cd86c5dbcc
commit 98e18910a3

View 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,