debug: fix unused variable when building with debug disabled

This commit is contained in:
Stefan Kost 2009-06-17 09:22:14 +03:00
parent 60ee556217
commit 8e798e0082

View file

@ -305,7 +305,6 @@ gst_ffmpegmux_request_new_pad (GstElement * element,
{
GstFFMpegMux *ffmpegmux = (GstFFMpegMux *) element;
GstElementClass *klass = GST_ELEMENT_GET_CLASS (element);
GstFFMpegMuxClass *oclass = (GstFFMpegMuxClass *) klass;
GstFFMpegMuxPad *collect_pad;
gchar *padname;
GstPad *pad;
@ -358,7 +357,7 @@ gst_ffmpegmux_request_new_pad (GstElement * element,
/* we love debug output (c) (tm) (r) */
GST_DEBUG ("Created %s pad for ffmux_%s element",
padname, oclass->in_plugin->name);
padname, ((GstFFMpegMuxClass *) klass)->in_plugin->name);
g_free (padname);
return pad;