diff --git a/ChangeLog b/ChangeLog index 26962d3610..b719efb642 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-29 Sebastian Dröge + + * examples/directfb/gstdfb.c: (main): + Don't use the deprecated gst_element_get_pad(). + 2008-05-28 Wim Taymans Based on patch by: diff --git a/common b/common index 032f2d973b..130fa8f739 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 032f2d973bd5c9a9b457cb5fc72d13dafe85c01e +Subproject commit 130fa8f739ff09aedb520c33239f53d06cfe9bd5 diff --git a/examples/directfb/gstdfb.c b/examples/directfb/gstdfb.c index 581142048e..675e5e23ca 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);