summaryrefslogtreecommitdiff
path: root/gst/playback/gstplaybin2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/playback/gstplaybin2.c')
-rw-r--r--gst/playback/gstplaybin2.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c
index 9a1aa29ea..8962a1948 100644
--- a/gst/playback/gstplaybin2.c
+++ b/gst/playback/gstplaybin2.c
@@ -5151,11 +5151,8 @@ done:
}
}
gst_caps_unref (target_caps);
- target_caps = tmp;
+ result = gst_caps_merge (result, tmp);
}
-
-
- result = gst_caps_merge (result, target_caps);
gst_object_unref (target);
}
}