summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-04-27 15:25:32 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-05-17 17:18:24 +0200
commitd1842481c191af05ec1821186b6604442a946016 (patch)
tree3345db0dd543e0abcc0be46aaad3e34b71df8c03
parenta8103facc59b9dde07ee95d026c3fd2323e278bb (diff)
avimux: Add support for On2 VP8
...avidemux automatically supports it through libgstriff.
-rw-r--r--gst/avi/gstavimux.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gst/avi/gstavimux.c b/gst/avi/gstavimux.c
index a0e6b8060..8a7d843e6 100644
--- a/gst/avi/gstavimux.c
+++ b/gst/avi/gstavimux.c
@@ -148,6 +148,10 @@ static GstStaticPadTemplate video_sink_factory =
"image/x-jpc, "
"width = (int) [ 1, 2147483647 ], "
"height = (int) [ 1, 2147483647 ], "
+ "framerate = (fraction) [ 0, MAX ];"
+ "video/x-vp8, "
+ "width = (int) [ 1, 2147483647 ], "
+ "height = (int) [ 1, 2147483647 ], "
"framerate = (fraction) [ 0, MAX ]")
);
@@ -613,6 +617,8 @@ gst_avi_mux_vidsink_set_caps (GstPad * pad, GstCaps * vscaps)
}
} else if (!strcmp (mimetype, "image/x-jpc")) {
avipad->vids.compression = GST_MAKE_FOURCC ('M', 'J', '2', 'C');
+ } else if (!strcmp (mimetype, "video/x-vp8")) {
+ avipad->vids.compression = GST_MAKE_FOURCC ('V', 'P', '8', '0');
}
if (!avipad->vids.compression)