summaryrefslogtreecommitdiffstats
path: root/gst/games
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2006-01-05 17:03:15 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2006-01-05 17:03:15 +0000
commit18378238d823fc5712e0d8605531ad5f7f5d6c1c (patch)
tree08bf3789ced8675c1d81f38d95eab2b4e9329649 /gst/games
parent35204f008db6325d1d7f76790fd95954c98339fe (diff)
downloadgst-plugins-bad-18378238d823fc5712e0d8605531ad5f7f5d6c1c.tar.gz
gst-plugins-bad-18378238d823fc5712e0d8605531ad5f7f5d6c1c.tar.bz2
gst-plugins-bad-18378238d823fc5712e0d8605531ad5f7f5d6c1c.zip
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
Diffstat (limited to 'gst/games')
-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;