summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/play/gstplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/play/gstplay.c')
-rw-r--r--gst-libs/gst/play/gstplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/play/gstplay.c b/gst-libs/gst/play/gstplay.c
index 7c7ef849..bcc5c4d1 100644
--- a/gst-libs/gst/play/gstplay.c
+++ b/gst-libs/gst/play/gstplay.c
@@ -928,7 +928,7 @@ gst_play_get_sink_element (GstPlay *play,
gboolean has_video_cap = FALSE;
gboolean has_audio_cap = FALSE;
- caps = gst_pad_get_caps (GST_PAD (pads->data));
+ caps = gst_pad_get_negotiated_caps (GST_PAD (pads->data));
structure = gst_caps_get_structure (caps, 0);
if (strcmp (gst_structure_get_name (structure),