projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdcd93e
)
examples: port directfb example to 1.0
author
Kerrick Staley
<kerrick@kerrickstaley.com>
Thu, 29 Aug 2013 18:02:37 +0000
(11:02 -0700)
committer
Tim-Philipp Müller
<tim@centricular.net>
Thu, 29 Aug 2013 19:13:48 +0000
(20:13 +0100)
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
tests/examples/directfb/gstdfb.c
patch
|
blob
|
history
diff --git
a/tests/examples/directfb/gstdfb.c
b/tests/examples/directfb/gstdfb.c
index 0232772b9763f54c3e91a44d4db59c48a68e3323..32ddd154a3f1e8ae8b88558294d4f71b7d2b7da1 100644
(file)
--- 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);