baseparse: If tags changed, baseparse update tag event and push pending event. 23/96523/1 accepted/tizen/3.0/common/20161114.082848 accepted/tizen/3.0/ivi/20161109.162326 accepted/tizen/3.0/mobile/20161109.162220 accepted/tizen/3.0/tv/20161109.162240 accepted/tizen/3.0/wearable/20161109.162258 submit/tizen_3.0/20161109.123641 submit/tizen_3.0_common/20161110.084657
authorGilbok Lee <gilbok.lee@samsung.com>
Wed, 9 Nov 2016 07:55:45 +0000 (16:55 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Wed, 9 Nov 2016 07:55:45 +0000 (16:55 +0900)
some parse update tag in pre_push_frame fucntion.

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

Change-Id: Ife07cb8a3a20f9763db83bd2e25b43530a7c51e2

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

index 6ddebfd924f14f9b951910be719c146227d7e3f0..2c77878337d2031deca67380455750ac6f601703 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 2b2afd3838292416c02965888e345ea5624817f9..1442e42721981455ac1b1b16a45735732757a5fd 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