Add Dirac typefinding and add dirac format to oggmux.

Original commit message from CVS:
* ext/ogg/gstoggmux.c:
* gst/typefind/gsttypefindfunctions.c:
Add Dirac typefinding and add dirac format to oggmux.
This commit is contained in:
David Schleef 2006-02-05 03:05:41 +00:00
parent 9495b450f6
commit 4bcfd025f3
3 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2006-02-04 David Schleef <ds@schleef.org>
* ext/ogg/gstoggmux.c:
* gst/typefind/gsttypefindfunctions.c:
Add Dirac typefinding and add dirac format to oggmux.
2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
* gst/playback/gstdecodebin.c: (try_to_link_1):

View file

@ -165,7 +165,7 @@ static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink_%d",
GST_PAD_REQUEST,
GST_STATIC_CAPS ("video/x-theora; "
"audio/x-vorbis; audio/x-flac; audio/x-speex; "
"application/x-ogm-video; application/x-ogm-audio")
"application/x-ogm-video; application/x-ogm-audio; video/x-dirac")
);
static void gst_ogg_mux_base_init (gpointer g_class);

View file

@ -2233,6 +2233,8 @@ plugin_init (GstPlugin * plugin)
ar_type_find, ar_exts, AR_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "application/x-ms-dos-executable",
GST_RANK_SECONDARY, msdos_type_find, msdos_exts, MSDOS_CAPS, NULL, NULL);
TYPE_FIND_REGISTER_START_WITH (plugin, "video/x-dirac",
GST_RANK_PRIMARY, NULL, "BBCD", 4, GST_TYPE_FIND_LIKELY);
return TRUE;
}