From 18378238d823fc5712e0d8605531ad5f7f5d6c1c Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Thu, 5 Jan 2006 17:03:15 +0000 Subject: gst/games/gstpuzzle.c: call oil_init() when using liboil Original commit message from CVS: * gst/games/gstpuzzle.c: (plugin_init): call oil_init() when using liboil --- gst/games/gstpuzzle.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gst/games') diff --git a/gst/games/gstpuzzle.c b/gst/games/gstpuzzle.c index 6ebc5100..9bd8e3bc 100644 --- a/gst/games/gstpuzzle.c +++ b/gst/games/gstpuzzle.c @@ -557,6 +557,10 @@ draw_puzzle (GstVideofilter * videofilter, void *destp, void *srcp) static gboolean plugin_init (GstPlugin * plugin) { +#ifdef HAVE_LIBOIL + oil_init (); +#endif + if (!gst_library_load ("gstvideofilter")) return FALSE; -- cgit v1.2.1