summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2009-06-17 09:22:14 +0300
committerStefan Kost <ensonic@users.sf.net>2009-06-17 09:22:14 +0300
commit8e798e0082eee7d8f0bb0262b29722a24064d61a (patch)
treecf047f06572287af7b3ed42eb96cb39c90f08f85
parent60ee556217c97c56a2676f8f9f8a5e19e80d94ed (diff)
debug: fix unused variable when building with debug disabled
-rw-r--r--ext/ffmpeg/gstffmpegmux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/ffmpeg/gstffmpegmux.c b/ext/ffmpeg/gstffmpegmux.c
index 5f04d2b..4fb7b27 100644
--- a/ext/ffmpeg/gstffmpegmux.c
+++ b/ext/ffmpeg/gstffmpegmux.c
@@ -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;