diff options
author | Kerrick Staley <kerrick@kerrickstaley.com> | 2013-08-29 11:02:37 -0700 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2013-08-29 20:13:48 +0100 |
commit | df287fe250e7d1617766fc4a325ee3a00105f78b (patch) | |
tree | c108f7a08df4ff47446af0c18fd93c51c4217971 | |
parent | fdcd93ed7caf07622a90672280e17c06c942e319 (diff) | |
download | gstreamer-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.c | 2 |
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); |