aboutsummaryrefslogtreecommitdiff
path: root/tests/examples/directfb/gstdfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples/directfb/gstdfb.c')
-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 0232772b..32ddd154 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);