summaryrefslogtreecommitdiffstats
path: root/gst/games/gstpuzzle.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/games/gstpuzzle.c')
-rw-r--r--gst/games/gstpuzzle.c4
1 files changed, 4 insertions, 0 deletions
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;