diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-06-02 09:53:05 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-06-02 09:54:23 +0200 |
commit | 31e7bf098d7dc1db303d44c559a281431b7e4d9f (patch) | |
tree | a5a16c7a37ca77a78ded94824bb60ee8535473e9 | |
parent | ca216b2d1d624548367119783d53d35caf500f3f (diff) |
typefindfunctions: Fix caps for ogg typefinder.framestep
-rw-r--r-- | gst/typefind/gsttypefindfunctions.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index ad010d01c..8c3160755 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -2585,8 +2585,10 @@ dv_type_find (GstTypeFind * tf, gpointer private) /*** application/ogg and application/x-annodex ***/ static GstStaticCaps ogg_caps = GST_STATIC_CAPS ("application/ogg"); static GstStaticCaps annodex_caps = GST_STATIC_CAPS ("application/x-annodex"); +static GstStaticCaps ogg_annodex_caps = + GST_STATIC_CAPS ("application/ogg;application/x-annodex"); -#define OGGANX_CAPS (gst_static_caps_get(&annodex_caps)) +#define OGGANX_CAPS (gst_static_caps_get(&ogg_annodex_caps)) static void ogganx_type_find (GstTypeFind * tf, gpointer private) @@ -2598,7 +2600,8 @@ ogganx_type_find (GstTypeFind * tf, gpointer private) /* Check for an annodex fishbone header */ data = gst_type_find_peek (tf, 28, 8); if (data && memcmp (data, "fishead\0", 8) == 0) - gst_type_find_suggest (tf, GST_TYPE_FIND_MAXIMUM, OGGANX_CAPS); + gst_type_find_suggest (tf, GST_TYPE_FIND_MAXIMUM, + gst_static_caps_get (&annodex_caps)); gst_type_find_suggest (tf, GST_TYPE_FIND_MAXIMUM, gst_static_caps_get (&ogg_caps)); |