summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
m---------common0
-rw-r--r--examples/directfb/gstdfb.c4
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 26962d36..b719efb6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
+
+ * examples/directfb/gstdfb.c: (main):
+ Don't use the deprecated gst_element_get_pad().
+
2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
Based on patch by: <onkarshinde at gmail dot com>
diff --git a/common b/common
-Subproject 032f2d973bd5c9a9b457cb5fc72d13dafe85c01
+Subproject 130fa8f739ff09aedb520c33239f53d06cfe9bd
diff --git a/examples/directfb/gstdfb.c b/examples/directfb/gstdfb.c
index 58114204..675e5e23 100644
--- a/examples/directfb/gstdfb.c
+++ b/examples/directfb/gstdfb.c
@@ -349,8 +349,8 @@ main (int argc, char *argv[])
gst_element_link_many (v_queue, v_scale, cs, v_sink, NULL);
gst_element_link_many (a_queue, conv, a_sink, NULL);
- v_pad = gst_element_get_pad (v_queue, "sink");
- a_pad = gst_element_get_pad (a_queue, "sink");
+ v_pad = gst_element_get_static_pad (v_queue, "sink");
+ a_pad = gst_element_get_static_pad (a_queue, "sink");
setup_dynamic_link (decode, NULL, v_pad, NULL);
setup_dynamic_link (decode, NULL, a_pad, NULL);