GNOME Bugzilla – Bug 330796
video4linux building bugsquash
Last modified: 2006-03-22 09:26:09 UTC
*** PATCH KNOWN, WILL FOLLOW *** Some combination or other of missing or disabled debug options can lead to the video4linux plugin being compiled WITHOUT the macro GST_DISABLE_GST_DEBUG being defined (it happened to me). The debugging function gst_v4lsrc_palette_name() is still unconditionally included in the code, but it tries to refer to the array v4l_palette_name[], which is conditionally excluded. This was in the code last time I built the plugins, several releases ago, though I was too shy to submit a patch. I'm a bit boggled that nobody else has run into it! My 'configure' options are really not strange at all. The patch comes next. I've simply returned a dummy name if the array isn't available. This is certainly safe, if a bit lazy on my part (ideally I should check whether I really need the function at all). However, the cost of retaining the useless stub is so tiny that I can't be bothered to see whether removing it breaks anything.
Created attachment 59139 [details] [review] Ultra-safe repair for conditionally missing array
Hi Bernard, Thanks for the patch. A few things: (1) gst-plugins 0.8.12 was released recently; can you see if your problem still exists there? (2) the 0.8 branch is a bit obsolete; can you see if you have this problem with 0.10 as well? The module is gst-plugins-base. Thanks!
Fixed this in 0.8 CVS, was already fixed in 0.10.