gst/videoscale/gstvideoscale.c: Add call to oil_init().

Original commit message from CVS:
* gst/videoscale/gstvideoscale.c: Add call to oil_init().
Fixes #338897.
This commit is contained in:
David Schleef 2006-04-27 00:19:29 +00:00
parent b914888a35
commit 6078391ab3
2 changed files with 8 additions and 0 deletions

View file

@ -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> 2006-04-26 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac: * configure.ac:

View file

@ -62,6 +62,7 @@
#include <string.h> #include <string.h>
#include <gst/video/video.h> #include <gst/video/video.h>
#include <liboil/liboil.h>
#include "gstvideoscale.h" #include "gstvideoscale.h"
#include "vs_image.h" #include "vs_image.h"
@ -793,6 +794,8 @@ gst_video_scale_src_event (GstBaseTransform * trans, GstEvent * event)
static gboolean static gboolean
plugin_init (GstPlugin * plugin) plugin_init (GstPlugin * plugin)
{ {
oil_init ();
if (!gst_element_register (plugin, "videoscale", GST_RANK_NONE, if (!gst_element_register (plugin, "videoscale", GST_RANK_NONE,
GST_TYPE_VIDEO_SCALE)) GST_TYPE_VIDEO_SCALE))
return FALSE; return FALSE;