[0.11] gst-plugins-base: playbin2: port new bits to 0.11
Wim Taymans
wtay at kemper.freedesktop.org
Tue Oct 4 09:06:39 PDT 2011
Module: gst-plugins-base
Branch: 0.11
Commit: 1261c08a2fee51c999b690f8b3133a7d7f81b014
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=1261c08a2fee51c999b690f8b3133a7d7f81b014
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date: Tue Oct 4 18:06:07 2011 +0200
playbin2: port new bits to 0.11
---
gst/playback/gstplaybin2.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c
index 96f77a4..2d357af 100644
--- a/gst/playback/gstplaybin2.c
+++ b/gst/playback/gstplaybin2.c
@@ -3255,7 +3255,7 @@ autoplug_select_cb (GstElement * decodebin, GstPad * pad,
sink = group->video_sink;
if ((sinkpad = gst_element_get_static_pad (sink, "sink"))) {
- caps = gst_pad_get_caps_reffed (sinkpad);
+ caps = gst_pad_get_caps (sinkpad, NULL);
compatible = gst_element_factory_can_src_any_caps (factory, caps);
@@ -3267,7 +3267,7 @@ autoplug_select_cb (GstElement * decodebin, GstPad * pad,
return GST_AUTOPLUG_SELECT_TRY;
GST_DEBUG_OBJECT (playbin, "%s not compatible with the fixed sink",
- GST_PLUGIN_FEATURE_NAME (factory));
+ GST_OBJECT_NAME (factory));
return GST_AUTOPLUG_SELECT_SKIP;
} else
More information about the gstreamer-commits
mailing list