mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
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:
parent
2fac356055
commit
52d2bae950
2 changed files with 8 additions and 1 deletions
|
@ -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),
|
||||
|
|
|
@ -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 ***********************************************************/
|
||||
|
|
Loading…
Reference in a new issue