[0.11] gstreamer: taglist: restore date/time type to GstDateTime

Vincent Penquerc'h vincent at kemper.freedesktop.org
Thu Jan 26 10:25:06 PST 2012


Module: gstreamer
Branch: 0.11
Commit: 9152c01fcf46fac367a69230ad2c6b90731d859b
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=9152c01fcf46fac367a69230ad2c6b90731d859b

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Thu Jan 26 18:22:29 2012 +0000

taglist: restore date/time type to GstDateTime

The change to GDateTime was apparently accidental, and
breaks plugins trying to feed a GstDateTime to the taglist APi.

---

 gst/gsttaglist.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/gsttaglist.c b/gst/gsttaglist.c
index 7e3de44..b6af6e1 100644
--- a/gst/gsttaglist.c
+++ b/gst/gsttaglist.c
@@ -140,7 +140,7 @@ _priv_gst_tag_initialize (void)
       _("The artist of the entire album, as it should be sorted"), NULL);
   gst_tag_register (GST_TAG_DATE, GST_TAG_FLAG_META, G_TYPE_DATE,
       _("date"), _("date the data was created (as a GDate structure)"), NULL);
-  gst_tag_register (GST_TAG_DATE_TIME, GST_TAG_FLAG_META, G_TYPE_DATE_TIME,
+  gst_tag_register (GST_TAG_DATE_TIME, GST_TAG_FLAG_META, GST_TYPE_DATE_TIME,
       _("datetime"),
       _("date and time the data was created (as a GstDateTime structure)"),
       NULL);



More information about the gstreamer-commits mailing list