xoverlay: change new set_render_rectangle() vfunc to take four arguments so we don...
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 24 Mar 2010 09:59:42 +0000 (09:59 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 28 Mar 2010 19:21:10 +0000 (20:21 +0100)
commit37d000d175dad226f5eacbefe557f107cb43e6a6
tree4ee0e1ffcedee22b50ac2b2efe95780237c782d1
parent133f804d2d5ff1e9c6c58e41849507f39137e489
xoverlay: change new set_render_rectangle() vfunc to take four arguments so we don't depend on libgstvideo

Don't make libgstinterfaces (and thus libgstaudio etc.) indirectly depend
on libgstvideo by using the GstVideoRectangle helper structure in the API,
which causes undesirable dependencies, esp. with the gobject-introspection
(people will point and laugh at us if they find out that libgstaudio
depends on libgstvideo). Instead, pass the x, y, width and height parameters
directly to the function.

Re-fixes #610249.
gst-libs/gst/interfaces/Makefile.am
gst-libs/gst/interfaces/xoverlay.c
gst-libs/gst/interfaces/xoverlay.h
sys/xvimage/xvimagesink.c
tests/icles/test-xoverlay.c