webvttenc: Change src pad template to application/x-subtitle-vtt

Use consistent mime-type with subparse element for webvtt format

https://bugzilla.gnome.org/show_bug.cgi?id=784715
This commit is contained in:
Seungha Yang 2017-07-10 16:39:49 +09:00 committed by Edward Hervey
parent a218a2a1af
commit 00cf833c95
2 changed files with 3 additions and 3 deletions

View file

@ -47,9 +47,9 @@
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>text/vtt</details>
<details>application/x-subtitle-vtt</details>
</caps>
</pads>
</element>
</elements>
</plugin>
</plugin>

View file

@ -39,7 +39,7 @@ enum
static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("text/vtt"));
GST_STATIC_CAPS ("application/x-subtitle-vtt"));
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,