GNOME Bugzilla – Bug 327871
[videobox] crash when cropping
Last modified: 2006-01-20 15:10:21 UTC
Steps to reproduce: in gstvideobox.c the oil_init is surrounded between HAVE_LIBOIL, but not the oil_splat and oil_memcopy-functions in the rest of the source. so if HAVE_LIBOIL is not defined (why, i don't know, but i have liboil installed, it compiled correctly) the oil_init is omitted and gstvideobox does crash. because gstreamer depends on liboil my proposed patch is to remove the #ifdef. that make things work for me :) Stack trace: Other information:
Created attachment 57732 [details] [review] proposed patch
Fixed in CVS, thanks for the patch! (doesn't happen when you test videobox with videotestsrc, because videotestsrc initialises liboil as well ...) 2006-01-20 Tim-Philipp Muller <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>).