gst/videobox/gstvideobox.c: Don't forget to initialize liboil, otherwise our oil functions

Original commit message from CVS:
* gst/videobox/gstvideobox.c: (gst_video_box_class_init):
Don't forget to initialize liboil, otherwise our oil functions
will crash (fixes #327871; patch by: Christoph Burghardt
<hawkes at web dot de>).
This commit is contained in:
Christoph Burghardt 2006-01-20 15:06:28 +00:00 committed by Tim-Philipp Müller
parent 7d437d6c76
commit 3f2421c8a6
3 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
* gst/videobox/gstvideobox.c: (gst_video_box_class_init):
Don't forget to initialize liboil, otherwise our oil functions
will crash (fixes #327871; patch by: Christoph Burghardt
<hawkes at web dot de>).
2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
* configure.ac:

2
common

@ -1 +1 @@
Subproject commit e0b121388ece524c0b7035a72bddd191d122d8bf
Subproject commit 5b72280d9ce34e312924e2c4831ed21c26f885eb

View file

@ -220,9 +220,7 @@ gst_video_box_class_init (GstVideoBoxClass * klass)
GST_DEBUG_CATEGORY_INIT (videobox_debug, "videobox", 0,
"Resizes a video by adding borders or cropping");
#ifdef HAVE_LIBOIL
oil_init ();
#endif
}
static void