mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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
This commit is contained in:
parent
fc4c49157c
commit
03bb5dc8ba
3 changed files with 0 additions and 11 deletions
|
@ -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) {
|
||||
|
|
|
@ -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:
|
||||
{
|
||||
|
|
|
@ -1811,7 +1811,6 @@ gst_camerabin_have_img_buffer (GstPad * pad, GstMiniObject * obj,
|
|||
if (GST_IS_BUFFER (obj)) {
|
||||
GstBuffer *buffer = GST_BUFFER_CAST (obj);
|
||||
GstStructure *fn_ev_struct = NULL;
|
||||
gboolean ret = TRUE;
|
||||
GstPad *os_sink = NULL;
|
||||
|
||||
GST_LOG ("got buffer %p with size %d", buffer, GST_BUFFER_SIZE (buffer));
|
||||
|
@ -1823,7 +1822,6 @@ gst_camerabin_have_img_buffer (GstPad * pad, GstMiniObject * obj,
|
|||
/* Image filename should be set by now */
|
||||
if (g_str_equal (camera->filename->str, "")) {
|
||||
GST_DEBUG_OBJECT (camera, "filename not set, dropping buffer");
|
||||
ret = FALSE;
|
||||
CAMERABIN_PROCESSING_DEC_UNLOCKED (camera);
|
||||
goto done;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue