mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
Fix typefind function for BBB's new system
Original commit message from CVS: Fix typefind function for BBB's new system
This commit is contained in:
parent
ee8a7abed4
commit
554690f45a
1 changed files with 6 additions and 2 deletions
|
@ -627,9 +627,13 @@ gst_swfdec_get_property (GObject *object, guint prop_id, GValue *value, GParamSp
|
|||
}
|
||||
|
||||
static GstCaps *
|
||||
swf_type_find(GstBuffer *buf, gpointer private)
|
||||
swf_type_find(GstByteStream *bs, gpointer private)
|
||||
{
|
||||
gchar *data = GST_BUFFER_DATA(buf);
|
||||
GstBuffer *buf;
|
||||
gchar *data;
|
||||
|
||||
gst_bytestream_peek (bs, &buf, 4);
|
||||
data = GST_BUFFER_DATA(buf);
|
||||
|
||||
if (GST_BUFFER_SIZE (buf) < 4)
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue