gst/games/gstpuzzle.c: call oil_init() when using liboil
authorStefan Kost <ensonic@users.sourceforge.net>
Thu, 5 Jan 2006 17:03:15 +0000 (17:03 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Thu, 5 Jan 2006 17:03:15 +0000 (17:03 +0000)
Original commit message from CVS:
* gst/games/gstpuzzle.c: (plugin_init):
call oil_init() when using liboil

ChangeLog
gst/games/gstpuzzle.c

index c7e3314..3c55a45 100644 (file)
--- 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:
index 6ebc510..9bd8e3b 100644 (file)
@@ -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;