slomo pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a39f9ca579e693246fa5bb9cf93232a128a2b814

commit a39f9ca579e693246fa5bb9cf93232a128a2b814
Author: Sebastian Dröge <[email protected]>
Date:   Sun Jan 12 20:44:41 2014 +0100

    emotion gstreamer1: Also handle DATE_TIME tag
---
 src/modules/emotion/gstreamer1/emotion_gstreamer.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/src/modules/emotion/gstreamer1/emotion_gstreamer.c 
b/src/modules/emotion/gstreamer1/emotion_gstreamer.c
index 181c761..acc7c50 100644
--- a/src/modules/emotion/gstreamer1/emotion_gstreamer.c
+++ b/src/modules/emotion/gstreamer1/emotion_gstreamer.c
@@ -1248,6 +1248,20 @@ _for_each_tag(GstTagList const* list,
              break;
           }
 
+        if (!strcmp(tag, GST_TAG_DATE_TIME))
+          {
+             gchar *str;
+             const GValue *date;
+             g_free(ev->metadata->year);
+             date = gst_tag_list_get_value_index(list, GST_TAG_DATE_TIME, 0);
+             if (date)
+               str = g_strdup_value_contents(date);
+             else
+               str = NULL;
+             ev->metadata->year = str;
+             break;
+          }
+
         if (!strcmp(tag, GST_TAG_TRACK_NUMBER))
           {
              gchar *str;

-- 


Reply via email to