After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 500403 - [PATCH] videobox element doesn't init liboil
[PATCH] videobox element doesn't init liboil
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal major
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-11-29 11:32 UTC by Arek Korbik
Modified: 2007-11-29 11:39 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
The patch again in a separate attachment (499 bytes, patch)
2007-11-29 11:35 UTC, Arek Korbik
none Details | Review

Description Arek Korbik 2007-11-29 11:32:19 UTC
videobox crashes (in a very mysterious way) if anything else wouldn't init liboil

Index: gstvideobox.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/gst/videobox/gstvideobox.c,v
retrieving revision 1.34
diff -c -r1.34 gstvideobox.c
*** gstvideobox.c       8 Aug 2007 17:47:05 -0000       1.34
--- gstvideobox.c       29 Nov 2007 11:17:37 -0000
***************
*** 1158,1163 ****
--- 1158,1165 ----
  static gboolean
  plugin_init (GstPlugin * plugin)
  {
+   oil_init();
+ 
    return gst_element_register (plugin, "videobox", GST_RANK_NONE,
        GST_TYPE_VIDEO_BOX);
  }
Comment 1 Arek Korbik 2007-11-29 11:35:03 UTC
Created attachment 99836 [details] [review]
The patch again in a separate attachment
Comment 2 Michael Smith 2007-11-29 11:39:55 UTC
Thanks, committed:

    Patch by: Arek Korbik <arkadini@gmail.com>

    * gst/videobox/gstvideobox.c: (plugin_init):
      Initialise liboil in plugin_init()