summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2010-04-01 13:55:15 +0200
committerEdward Hervey <bilboed@bilboed.com>2010-04-01 13:55:15 +0200
commit8db7eb40379d798c9089c32ef1b5e2526b467b8e (patch)
tree837fba46e542684cc8e35d43a0705647ff455732
parenta58183459f9f391edd939f921e82cd822879bc56 (diff)
gstplaysink: Remove unused variable.
The value of klass is never used
-rw-r--r--gst/playback/gstplaysink.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c
index 36d1af327..ebbecfced 100644
--- a/gst/playback/gstplaysink.c
+++ b/gst/playback/gstplaysink.c
@@ -2398,7 +2398,6 @@ gst_play_sink_request_new_pad (GstElement * element, GstPadTemplate * templ,
{
GstPlaySink *psink;
GstPad *pad;
- GstElementClass *klass;
GstPlaySinkType type;
const gchar *tplname;
@@ -2407,7 +2406,6 @@ gst_play_sink_request_new_pad (GstElement * element, GstPadTemplate * templ,
GST_DEBUG_OBJECT (element, "name:%s", name);
psink = GST_PLAY_SINK (element);
- klass = GST_ELEMENT_GET_CLASS (element);
tplname = GST_PAD_TEMPLATE_NAME_TEMPLATE (templ);
/* Figure out the GstPlaySinkType based on the template */