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

lavd: add v4l and v4l2 aliases.

This commit is contained in:
Clément Bœsch 2011-10-30 02:39:30 +02:00
parent 41f00e4adb
commit 6921272b23
2 changed files with 2 additions and 2 deletions

View File

@ -354,7 +354,7 @@ static const AVClass v4l_class = {
}; };
AVInputFormat ff_v4l_demuxer = { AVInputFormat ff_v4l_demuxer = {
.name = "video4linux", .name = "video4linux,v4l",
.long_name = NULL_IF_CONFIG_SMALL("Video4Linux device grab"), .long_name = NULL_IF_CONFIG_SMALL("Video4Linux device grab"),
.priv_data_size = sizeof(VideoData), .priv_data_size = sizeof(VideoData),
.read_header = grab_read_header, .read_header = grab_read_header,

View File

@ -705,7 +705,7 @@ static const AVClass v4l2_class = {
}; };
AVInputFormat ff_v4l2_demuxer = { AVInputFormat ff_v4l2_demuxer = {
.name = "video4linux2", .name = "video4linux2,v4l2",
.long_name = NULL_IF_CONFIG_SMALL("Video4Linux2 device grab"), .long_name = NULL_IF_CONFIG_SMALL("Video4Linux2 device grab"),
.priv_data_size = sizeof(struct video_data), .priv_data_size = sizeof(struct video_data),
.read_header = v4l2_read_header, .read_header = v4l2_read_header,