mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
avimux: Add support for On2 VP8
...avidemux automatically supports it through libgstriff.
This commit is contained in:
parent
a8103facc5
commit
d1842481c1
1 changed files with 6 additions and 0 deletions
|
@ -148,6 +148,10 @@ static GstStaticPadTemplate video_sink_factory =
|
||||||
"image/x-jpc, "
|
"image/x-jpc, "
|
||||||
"width = (int) [ 1, 2147483647 ], "
|
"width = (int) [ 1, 2147483647 ], "
|
||||||
"height = (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 ]")
|
"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")) {
|
} else if (!strcmp (mimetype, "image/x-jpc")) {
|
||||||
avipad->vids.compression = GST_MAKE_FOURCC ('M', 'J', '2', 'C');
|
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)
|
if (!avipad->vids.compression)
|
||||||
|
|
Loading…
Reference in a new issue