diff options
author | Debarshi Ray <rishi@gnu.org> | 2011-05-30 17:54:26 +0530 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2011-05-30 22:52:03 +1000 |
commit | 03bb5dc8ba369fd37c70c322c7bee76df082a88b (patch) | |
tree | 14c069a29ade46a1049b47f6f025718900aae3d3 /gst-libs/gst/video | |
parent | fc4c49157c9680fd0b4861225001ef77cfe46faf (diff) | |
download | gstreamer-plugins-bad-03bb5dc8ba369fd37c70c322c7bee76df082a88b.tar.gz |
Remove unused but set variables
This is needed to satisfy the new -Wunused-but-set-variable added in
GCC 4.6: http://gcc.gnu.org/gcc-4.6/changes.html
Diffstat (limited to 'gst-libs/gst/video')
-rw-r--r-- | gst-libs/gst/video/gstbasevideodecoder.c | 5 | ||||
-rw-r--r-- | gst-libs/gst/video/gstbasevideoencoder.c | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/gst-libs/gst/video/gstbasevideodecoder.c b/gst-libs/gst/video/gstbasevideodecoder.c index 16c35ecd6..f2fd2cb47 100644 --- a/gst-libs/gst/video/gstbasevideodecoder.c +++ b/gst-libs/gst/video/gstbasevideodecoder.c @@ -892,11 +892,6 @@ static void gst_base_video_decoder_reset (GstBaseVideoDecoder * base_video_decoder, gboolean full) { - GstBaseVideoDecoderClass *base_video_decoder_class; - - base_video_decoder_class = - GST_BASE_VIDEO_DECODER_GET_CLASS (base_video_decoder); - GST_DEBUG_OBJECT (base_video_decoder, "reset full %d", full); if (full) { diff --git a/gst-libs/gst/video/gstbasevideoencoder.c b/gst-libs/gst/video/gstbasevideoencoder.c index 67b139454..1c27a72ef 100644 --- a/gst-libs/gst/video/gstbasevideoencoder.c +++ b/gst-libs/gst/video/gstbasevideoencoder.c @@ -368,12 +368,8 @@ static gboolean gst_base_video_encoder_sink_eventfunc (GstBaseVideoEncoder * base_video_encoder, GstEvent * event) { - GstBaseVideoEncoderClass *base_video_encoder_class; gboolean ret = FALSE; - base_video_encoder_class = - GST_BASE_VIDEO_ENCODER_GET_CLASS (base_video_encoder); - switch (GST_EVENT_TYPE (event)) { case GST_EVENT_EOS: { |