matroska/webmmux: Support Opus in webmmux and VP9 in matroskamux

https://bugzilla.gnome.org/show_bug.cgi?id=729950
This commit is contained in:
Sebastian Dröge 2015-11-03 12:42:52 +02:00
parent d620ca4740
commit c6f6092f2f
2 changed files with 5 additions and 2 deletions

View file

@ -125,6 +125,8 @@ static GstStaticPadTemplate videosink_templ =
COMMON_VIDEO_CAPS "; "
"video/x-vp8, "
COMMON_VIDEO_CAPS "; "
"video/x-vp9, "
COMMON_VIDEO_CAPS "; "
"video/x-raw, "
"format = (string) { YUY2, I420, YV12, UYVY, AYUV, GRAY8, BGR, RGB }, "
COMMON_VIDEO_CAPS "; "

View file

@ -70,10 +70,11 @@ static GstStaticPadTemplate webm_videosink_templ =
);
static GstStaticPadTemplate webm_audiosink_templ =
GST_STATIC_PAD_TEMPLATE ("audio_%u",
GST_STATIC_PAD_TEMPLATE ("audio_%u",
GST_PAD_SINK,
GST_PAD_REQUEST,
GST_STATIC_CAPS ("audio/x-vorbis, " COMMON_AUDIO_CAPS)
GST_STATIC_CAPS ("audio/x-vorbis, " COMMON_AUDIO_CAPS ";"
"audio/x-opus, " COMMON_AUDIO_CAPS)
);
static void