From: Wonchul Lee Date: Tue, 15 Nov 2016 06:23:20 +0000 (+0900) Subject: playbin3: remove dead code X-Git-Tag: 1.19.3~511^2~2560 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08ee940de2244f192f8ba108a2efb2aef7ac6bc2;p=platform%2Fupstream%2Fgstreamer.git playbin3: remove dead code It never reach into this code path, custom_combiner always not null here. https://bugzilla.gnome.org/show_bug.cgi?id=774454 --- diff --git a/gst/playback/gstplaybin3.c b/gst/playback/gstplaybin3.c index 3c5bd473d0..176a9f863d 100644 --- a/gst/playback/gstplaybin3.c +++ b/gst/playback/gstplaybin3.c @@ -2845,15 +2845,6 @@ pad_added_cb (GstElement * decodebin, GstPad * pad, GstPlayBin3 * playbin) g_object_class_find_property (G_OBJECT_GET_CLASS (combine->combiner), "active-pad") != NULL; - if (!custom_combiner) { - /* sync-mode=1, use clock */ - if (combine->type == GST_PLAY_SINK_TYPE_TEXT) - g_object_set (combine->combiner, "sync-streams", TRUE, - "sync-mode", 1, "cache-buffers", TRUE, NULL); - else - g_object_set (combine->combiner, "sync-streams", TRUE, NULL); - } - if (combine->has_active_pad) g_signal_connect (combine->combiner, "notify::active-pad", G_CALLBACK (combiner_active_pad_changed), playbin);