Merge branch 'upstream/1.22.7' into tizen_gst_1.22.7
[platform/upstream/gstreamer.git] / subprojects / gst-plugins-base / gst / playback / gsturidecodebin3.c
index 6d21a22..b1b9de0 100644 (file)
@@ -1113,6 +1113,9 @@ switch_and_activate_input_locked (GstURIDecodeBin3 * uridecodebin,
   }
   g_list_free (new_pads);
   g_list_free (old_pads);
+#ifdef TIZEN_FEATURE_BUG_FIX
+  g_list_free (to_activate);
+#endif
 
   /* Deactivate old input item (by removing the source components). The final
    * removal of this play item will be done once decodebin3 starts output the
@@ -2069,9 +2072,11 @@ gst_uri_decode_bin3_handle_message (GstBin * bin, GstMessage * msg)
       /* Find the matching handler (if any) */
       handler = find_source_handler_for_element (uridecodebin, msg->src);
       if (!handler) {
+#ifndef TIZEN_FEATURE_MANUAL_BUFFERING_CTRL /* post buffering msg to app */
         GST_LOG_OBJECT (uridecodebin, "No handler for message, dropping it");
         gst_message_unref (msg);
         msg = NULL;
+#endif
       } else if (!uridecodebin->input_item->main_item
           || handler != uridecodebin->input_item->main_item->handler) {
         GST_LOG_OBJECT (uridecodebin,