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 --- ChangeLog | 5 +++++ gst/games/gstpuzzle.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index c7e3314f..3c55a459 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-01-05 Stefan Kost + + * gst/games/gstpuzzle.c: (plugin_init): + call oil_init() when using liboil + 2006-01-04 Edgard Lima * ext/neon/gstneonhttpsrc.c: 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