baseparse: If tags changed, baseparse update tag event and push pending event. 83/102383/1 accepted/tizen/common/20161207.184608 accepted/tizen/ivi/20161208.012249 accepted/tizen/mobile/20161208.011934 accepted/tizen/tv/20161208.012049 accepted/tizen/wearable/20161208.012142 submit/tizen/20161207.075356
authorGilbok Lee <gilbok.lee@samsung.com>
Wed, 9 Nov 2016 07:55:45 +0000 (16:55 +0900)
committereunhae choi <eunhae1.choi@samsung.com>
Mon, 5 Dec 2016 12:34:10 +0000 (04:34 -0800)
some parse update tag in pre_push_frame fucntion.

[Version] 1.6.1-6
[Profile] Common
[Issue Type] Fix bugs

Change-Id: Ife07cb8a3a20f9763db83bd2e25b43530a7c51e2
(cherry picked from commit 737358019bab750d1987533dd1ab1b0508a632ec)

libs/gst/base/gstbaseparse.c
packaging/gstreamer.spec

index 6ddebfd..2c77878 100644 (file)
@@ -2413,6 +2413,15 @@ gst_base_parse_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
     frame->flags |= GST_BASE_PARSE_FRAME_FLAG_CLIP;
   }
 
+#ifdef TIZEN_FEATURE_BASEPARSE_MODIFICATION
+  if (parse->priv->tags_changed) {
+    gst_base_parse_queue_tag_event_update (parse);
+    /* Push pending events, including tag events */
+    gst_base_parse_push_pending_events (parse);
+    parse->priv->tags_changed = FALSE;
+  }
+#endif
+
   /* take final ownership of frame buffer */
   if (frame->out_buffer) {
     buffer = frame->out_buffer;
index d13c556..fd01353 100644 (file)
@@ -2,7 +2,7 @@
 
 Name:           gstreamer
 Version:        1.6.1
-Release:        5
+Release:        6
 Summary:        Streaming-Media Framework Runtime
 License:        LGPL-2.0+
 Group:          Multimedia/Framework