examples/directfb/gstdfb.c: Don't use the deprecated gst_element_get_pad().

Original commit message from CVS:
* examples/directfb/gstdfb.c: (main):
Don't use the deprecated gst_element_get_pad().
This commit is contained in:
Sebastian Dröge 2008-05-29 19:11:47 +00:00
parent 8d55304d61
commit 777fc07237
3 changed files with 8 additions and 3 deletions

View file

@ -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>

2
common

@ -1 +1 @@
Subproject commit 032f2d973bd5c9a9b457cb5fc72d13dafe85c01e
Subproject commit 130fa8f739ff09aedb520c33239f53d06cfe9bd5

View file

@ -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);