mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
gst/videobox/gstvideobox.c: call oil_init() when using liboil
Original commit message from CVS: * gst/videobox/gstvideobox.c: (gst_video_box_class_init), (plugin_init): call oil_init() when using liboil
This commit is contained in:
parent
59ec603210
commit
4e68e0f563
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2006-01-05 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
|
* gst/videobox/gstvideobox.c: (gst_video_box_class_init),
|
||||||
|
(plugin_init):
|
||||||
|
call oil_init() when using liboil
|
||||||
|
|
||||||
2006-01-04 Wim Taymans <wim@fluendo.com>
|
2006-01-04 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* ext/jpeg/gstsmokedec.c: (gst_smokedec_chain):
|
* ext/jpeg/gstsmokedec.c: (gst_smokedec_chain):
|
||||||
|
|
|
@ -219,6 +219,10 @@ gst_video_box_class_init (GstVideoBoxClass * klass)
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_INIT (videobox_debug, "videobox", 0,
|
GST_DEBUG_CATEGORY_INIT (videobox_debug, "videobox", 0,
|
||||||
"Resizes a video by adding borders or cropping");
|
"Resizes a video by adding borders or cropping");
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBOIL
|
||||||
|
oil_init ();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -685,6 +689,7 @@ gst_video_box_transform (GstBaseTransform * trans, GstBuffer * in,
|
||||||
static gboolean
|
static gboolean
|
||||||
plugin_init (GstPlugin * plugin)
|
plugin_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
|
|
||||||
return gst_element_register (plugin, "videobox", GST_RANK_NONE,
|
return gst_element_register (plugin, "videobox", GST_RANK_NONE,
|
||||||
GST_TYPE_VIDEO_BOX);
|
GST_TYPE_VIDEO_BOX);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue