"audio-dualmono" tag to get it from stream-info and audio codec 49/86549/4
authorYounghwan <younghwan_.an@samsung.com>
Fri, 2 Sep 2016 00:25:54 +0000 (09:25 +0900)
committereunhae choi <eunhae1.choi@samsung.com>
Fri, 2 Sep 2016 03:18:54 +0000 (20:18 -0700)
Change-Id: Iad4876718fb5ead2c1096af7fc714e36f9705e32

gst/gsttaglist.c
gst/gsttaglist.h

index 5b644dc..75ca5ee 100644 (file)
@@ -277,6 +277,10 @@ _priv_gst_tag_initialize (void)
       _("freeform name of the language this stream is in"), NULL);
   gst_tag_register_static (GST_TAG_IMAGE, GST_TAG_FLAG_META, GST_TYPE_SAMPLE,
       _("image"), _("image related to this stream"), gst_tag_merge_use_first);
+#ifdef GST_TIZEN_TV
+  gst_tag_register_static (GST_TAG_AUDIO_DUALMONO, GST_TAG_FLAG_DECODED, G_TYPE_UINT,
+      _("dualmono audio"), _("dual/mono related to this audio stream"), NULL);
+#endif
   gst_tag_register_static (GST_TAG_PREVIEW_IMAGE, GST_TAG_FLAG_META,
       GST_TYPE_SAMPLE,
       /* TRANSLATORS: 'preview image' = image that shows a preview of the full image */
index 42f944b..e167fe5 100644 (file)
@@ -722,6 +722,14 @@ gst_tag_list_copy (const GstTagList * taglist)
  * container format the data is stored in (string)
  */
 #define GST_TAG_CONTAINER_FORMAT       "container-format"
+#ifdef GST_TIZEN_TV
+/**
+ * GST_TAG_AUDIO_DUALMONO:
+ *
+ * dual/mono can available in audio stream (boolean)
+ */
+#define GST_TAG_AUDIO_DUALMONO   "audio-dualmono"
+#endif
 /**
  * GST_TAG_BITRATE:
  *