From d33b0d62aaf6fe0043d3d5b494935b60cd68c808 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 12 Jan 2004 03:40:18 +0000 Subject: Remove all usage of gst_pad_get_caps(), and replace it with gst_pad_get_allowed_caps() or gst_pad_get_negotiated_cap(). Original commit message from CVS: Remove all usage of gst_pad_get_caps(), and replace it with gst_pad_get_allowed_caps() or gst_pad_get_negotiated_cap(). --- gst-libs/gst/play/play.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst-libs/gst/play/play.c') diff --git a/gst-libs/gst/play/play.c b/gst-libs/gst/play/play.c index 7c7ef849..bcc5c4d1 100644 --- a/gst-libs/gst/play/play.c +++ b/gst-libs/gst/play/play.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), -- cgit v1.2.1