summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ext/swfdec/gstswfdec.c10
2 files changed, 14 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a4ff495b..cd83490d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2005-05-17 David Schleef <ds@schleef.org>
+ * ext/swfdec/gstswfdec.c: Create a tag indicating the version
+ of SWF file. (Used by swfdec-mozilla-plugin.)
+
+2005-05-17 David Schleef <ds@schleef.org>
+
* gst/librfb/Makefile.am:
* gst/librfb/gstrfbsrc.c:
* gst/librfb/rfb.h:
diff --git a/ext/swfdec/gstswfdec.c b/ext/swfdec/gstswfdec.c
index 883a1052..f2d63744 100644
--- a/ext/swfdec/gstswfdec.c
+++ b/ext/swfdec/gstswfdec.c
@@ -264,6 +264,7 @@ gst_swfdec_loop (GstElement * element)
} else if (ret == SWF_CHANGE) {
GstCaps *caps;
GstPadLinkReturn link_ret;
+ GstTagList *taglist;
swfdec_decoder_get_image_size (swfdec->decoder,
&swfdec->width, &swfdec->height);
@@ -284,6 +285,13 @@ gst_swfdec_loop (GstElement * element)
return;
}
swfdec->have_format = TRUE;
+
+ 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);
} else if (ret == SWF_EOF) {
SwfdecBuffer *audio_buffer;
SwfdecBuffer *video_buffer;
@@ -664,7 +672,7 @@ gst_swfdec_get_property (GObject * object, guint prop_id, GValue * value,
void
art_warn (const char *fmt, ...)
{
- GST_ERROR ("caught art_warn");
+ GST_LOG ("caught art_warn");
}
static gboolean