GNOME Bugzilla – Bug 503733
PATCH: stop gst-inspect --print-all from crashing when gst-ffmpeg is installed
Last modified: 2007-12-15 11:49:40 UTC
There is a small bug in gst-ffmpeg, which causes gst-inspect --print-all to crash when gst-ffmpeg is installed, this fixes this: --- gst-ffmpeg-0.10.2/ext/ffmpeg/gstffmpegcfg.c~ 2007-10-10 15:16:29.000 +++ gst-ffmpeg-0.10.2/ext/ffmpeg/gstffmpegcfg.c 2007-10-10 15:16:29.000000000 + @@ -242,6 +242,7 @@ gst_ffmpeg_pred_method_get_type (void) {FF_PRED_LEFT, "Left", "left"}, {FF_PRED_PLANE, "Plane", "plane"}, {FF_PRED_MEDIAN, "Median", "median"}, + { 0, NULL, NULL } }; ffmpeg_pred_method =
Thanks, this is fixed in CVS (in the GST_FFMPEG_NO_MIRROR branch which will become HEAD soon) now. 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org> Based on a patch by: Hans de Goede <j dot w dot r degoede at hhs dot nl> * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_pre_me_get_type), (gst_ffmpeg_pred_method_get_type): NULL-terminate the GEnumValue arrays, otherwise they will cause crashes. Fixes #503733.