aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-10-30 02:39:30 +0200
committerClément Bœsch <ubitux@gmail.com>2011-10-30 02:39:30 +0200
commit6921272b237b1a26ab8cf4b5ef90fac3f2e32b78 (patch)
treeb02e5f946f1c7e658de032bd18da70694a442b2e
parent41f00e4adbe11f02b2f9e11c4872cf139c9b25ed (diff)
downloadffmpeg-6921272b237b1a26ab8cf4b5ef90fac3f2e32b78.tar.gz
lavd: add v4l and v4l2 aliases.
-rw-r--r--libavdevice/v4l.c2
-rw-r--r--libavdevice/v4l2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/v4l.c b/libavdevice/v4l.c
index 7c8b3971ea..3e5e5eb919 100644
--- a/libavdevice/v4l.c
+++ b/libavdevice/v4l.c
@@ -354,7 +354,7 @@ static const AVClass v4l_class = {
};
AVInputFormat ff_v4l_demuxer = {
- .name = "video4linux",
+ .name = "video4linux,v4l",
.long_name = NULL_IF_CONFIG_SMALL("Video4Linux device grab"),
.priv_data_size = sizeof(VideoData),
.read_header = grab_read_header,
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 468d4c1687..9e26b2d48d 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
@@ -705,7 +705,7 @@ static const AVClass v4l2_class = {
};
AVInputFormat ff_v4l2_demuxer = {
- .name = "video4linux2",
+ .name = "video4linux2,v4l2",
.long_name = NULL_IF_CONFIG_SMALL("Video4Linux2 device grab"),
.priv_data_size = sizeof(struct video_data),
.read_header = v4l2_read_header,