gst-ffmpeg fails to compile due to unused but set warnings. The attached patch corrects every warning, but I've got a doubt about deleting this:
@@ -321,8 +320,6 @@ gst_ffmpegscale_transform_caps (GstBaseTransform * trans,
/* this function is always called with a simple caps */
g_return_val_if_fail (GST_CAPS_IS_SIMPLE (caps), NULL);
- scale = GST_FFMPEGSCALE (trans);
(the scale returned is never used)
Created attachment 45819 [details] [review]
Patch solving warnings
Hi, thanks for the bug report and patch.
We don't use bugs.freedesktop.org for bug tracking (only for git account requests), our bug tracker is at gnome.org, see http://gstreamer.freedesktop.org/bugs/ .
However, I've pushed this now, no need to refile it there.
Author: Marc Plano-Lesay <firstname.lastname@example.org>
Date: Tue Apr 19 16:26:55 2011 +0200
Fix unused-but-set-variable warnings with gcc 4.6