Commit graph

4 commits

Author SHA1 Message Date
Tim-Philipp Müller 37d000d175 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.
2010-03-28 20:21:10 +01:00
Tim-Philipp Müller 4def141e86 tests: make Gtk+ test programs compile with -DGSEAL_ENABLE
Fixes #612552, at least for now.
2010-03-14 22:48:00 +00:00
Tim-Philipp Müller 8697324e07 tests: don't use Gtk+ 2.18 API for no good reason
The rest of the code directly uses widget->allocation as well, so no point
in using the new API in other places.
2010-03-11 10:40:59 +00:00
Stefan Kost 91fbd42094 example: add an example for xoverlay::set_render_rectangle()
This add a new example which animates a target recangle for the video.
2010-03-11 10:24:58 +02:00