From 4f5720b19af4529e08f54736b176ede8096e03d5 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 18 May 2005 21:47:39 +0000 Subject: ext/swfdec/gstswfdec.c: Disable last patch, because it depends on swfdec CVS. (oops) Original commit message from CVS: * ext/swfdec/gstswfdec.c: (gst_swfdec_loop): Disable last patch, because it depends on swfdec CVS. (oops) --- ext/swfdec/gstswfdec.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ext/swfdec/gstswfdec.c') diff --git a/ext/swfdec/gstswfdec.c b/ext/swfdec/gstswfdec.c index f2d63744..927df0ad 100644 --- a/ext/swfdec/gstswfdec.c +++ b/ext/swfdec/gstswfdec.c @@ -264,7 +264,11 @@ gst_swfdec_loop (GstElement * element) } else if (ret == SWF_CHANGE) { GstCaps *caps; GstPadLinkReturn link_ret; + +/* Let's not depend on features that are only in CVS */ +#ifdef HAVE_SWFDEC_0_3_5 GstTagList *taglist; +#endif swfdec_decoder_get_image_size (swfdec->decoder, &swfdec->width, &swfdec->height); @@ -286,12 +290,14 @@ gst_swfdec_loop (GstElement * element) } swfdec->have_format = TRUE; +#ifdef HAVE_SWFDEC_0_3_5 taglist = gst_tag_list_new (); gst_tag_list_add (taglist, GST_TAG_MERGE_REPLACE, GST_TAG_ENCODER_VERSION, swfdec_decoder_get_version (swfdec->decoder), NULL); gst_element_found_tags (GST_ELEMENT (swfdec), taglist); gst_tag_list_free (taglist); +#endif } else if (ret == SWF_EOF) { SwfdecBuffer *audio_buffer; SwfdecBuffer *video_buffer; -- cgit v1.2.1