diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-05-29 19:11:47 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-05-29 19:11:47 +0000 |
commit | 777fc07237c6f4b11e89ca5f5d68e4492f7a6930 (patch) | |
tree | 3d9ae1e234480f5d322aeb0585390c9e6603a6f6 /examples | |
parent | 8d55304d61a6a7e970a2e00f8129378921899b99 (diff) | |
download | gst-plugins-bad-777fc07237c6f4b11e89ca5f5d68e4492f7a6930.tar.gz gst-plugins-bad-777fc07237c6f4b11e89ca5f5d68e4492f7a6930.tar.bz2 gst-plugins-bad-777fc07237c6f4b11e89ca5f5d68e4492f7a6930.zip |
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().
Diffstat (limited to 'examples')
-rw-r--r-- | examples/directfb/gstdfb.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |