gst/videoscale/gstvideoscale.c: Add call to oil_init().
authorDavid Schleef <ds@schleef.org>
Thu, 27 Apr 2006 00:19:29 +0000 (00:19 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 27 Apr 2006 00:19:29 +0000 (00:19 +0000)
Original commit message from CVS:
* gst/videoscale/gstvideoscale.c: Add call to oil_init().
Fixes #338897.

ChangeLog
gst/videoscale/gstvideoscale.c

index 1151912..3654be4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-04-26  David Schleef  <ds@schleef.org>
+
+       * gst/videoscale/gstvideoscale.c: Add call to oil_init().
+         Fixes #338897.
+
 2006-04-26  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * configure.ac:
index 3a6fbe3..e92740b 100644 (file)
@@ -62,6 +62,7 @@
 #include <string.h>
 
 #include <gst/video/video.h>
+#include <liboil/liboil.h>
 
 #include "gstvideoscale.h"
 #include "vs_image.h"
@@ -793,6 +794,8 @@ gst_video_scale_src_event (GstBaseTransform * trans, GstEvent * event)
 static gboolean
 plugin_init (GstPlugin * plugin)
 {
+  oil_init ();
+
   if (!gst_element_register (plugin, "videoscale", GST_RANK_NONE,
           GST_TYPE_VIDEO_SCALE))
     return FALSE;