summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-10-03 06:38:09 +0000
committerDavid Schleef <ds@schleef.org>2003-10-03 06:38:09 +0000
commit554690f45ac97a83cafd50fff23c36a6f33d9645 (patch)
tree68732c62fd3fc95dfc26025e2b9e6de84b23834e
parentee8a7abed45e2e04fa1e438303b509600ed85de3 (diff)
downloadgst-plugins-bad-554690f45ac97a83cafd50fff23c36a6f33d9645.tar.gz
gst-plugins-bad-554690f45ac97a83cafd50fff23c36a6f33d9645.tar.bz2
gst-plugins-bad-554690f45ac97a83cafd50fff23c36a6f33d9645.zip
Fix typefind function for BBB's new system
Original commit message from CVS: Fix typefind function for BBB's new system
-rw-r--r--ext/swfdec/gstswfdec.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/swfdec/gstswfdec.c b/ext/swfdec/gstswfdec.c
index a052fe7a..119c0403 100644
--- a/ext/swfdec/gstswfdec.c
+++ b/ext/swfdec/gstswfdec.c
@@ -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;