summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--ChangeLog5
-rw-r--r--gst/games/gstpuzzle.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c7e3314f..3c55a459 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-05 Stefan Kost <ensonic@users.sf.net>
+
+ * gst/games/gstpuzzle.c: (plugin_init):
+ call oil_init() when using liboil
+
2006-01-04 Edgard Lima <edgard.lima@indt.org.br>
* 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;