mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
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
This commit is contained in:
parent
2b06e54651
commit
08ee940de2
1 changed files with 0 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue