gst/typefind/gsttypefindfunctions.c: fix bug where typefinding would claim it's theora whenever less then 7 bytes of ...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (theora_type_find):
fix bug where typefinding would claim it's theora whenever less then
7 bytes of data were available
This commit is contained in:
Benjamin Otte 2004-03-26 02:16:00 +00:00
parent 2fac356055
commit 52d2bae950
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2004-03-26 Benjamin Otte <otte@gnome.org>
* gst/typefind/gsttypefindfunctions.c: (theora_type_find):
fix bug where typefinding would claim it's theora whenever less then
7 bytes of data were available
2004-03-25 Ronald Bultje <rbultje@ronald.bitfreak.net>
* gst/law/alaw-decode.c: (alawdec_getcaps), (alawdec_link),

View file

@ -1145,8 +1145,9 @@ theora_type_find (GstTypeFind * tf, gpointer private)
if (memcmp (&data[1], "theora", 6) != 0)
return;
/* FIXME: make this more reliable when specs are out */
gst_type_find_suggest (tf, GST_TYPE_FIND_MAXIMUM, THEORA_CAPS);
}
gst_type_find_suggest (tf, GST_TYPE_FIND_MAXIMUM, THEORA_CAPS);
}
/*** audio/x-speex ***********************************************************/