mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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
This commit is contained in:
parent
fdcd93ed7c
commit
df287fe250
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue