summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKerrick Staley <kerrick@kerrickstaley.com>2013-08-29 11:02:37 -0700
committerTim-Philipp Müller <tim@centricular.net>2013-08-29 20:13:48 +0100
commitdf287fe250e7d1617766fc4a325ee3a00105f78b (patch)
treec108f7a08df4ff47446af0c18fd93c51c4217971
parentfdcd93ed7caf07622a90672280e17c06c942e319 (diff)
downloadgstreamer-plugins-bad-df287fe250e7d1617766fc4a325ee3a00105f78b.tar.gz
examples: port directfb example to 1.0
gst_pad_get_negotiated_caps was removed from 1.0; gst_pad_get_current_caps should be used instead. See http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/random /porting-to-1.0.txt https://bugzilla.gnome.org/show_bug.cgi?id=707074
-rw-r--r--tests/examples/directfb/gstdfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/examples/directfb/gstdfb.c b/tests/examples/directfb/gstdfb.c
index 0232772b9..32ddd154a 100644
--- a/tests/examples/directfb/gstdfb.c
+++ b/tests/examples/directfb/gstdfb.c
@@ -83,7 +83,7 @@ size_changed (GObject * obj, GParamSpec * pspec, IDirectFBWindow * window)
GstStructure *s;
GstCaps *caps;
- if (!(caps = gst_pad_get_negotiated_caps (pad)))
+ if (!(caps = gst_pad_get_current_caps (pad)))
return;
s = gst_caps_get_structure (caps, 0);