omx: Fix ununsed variable compiler warning
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 20 Dec 2012 11:30:05 +0000 (12:30 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 20 Dec 2012 11:30:05 +0000 (12:30 +0100)
omx/gstomxaudioenc.c
omx/gstomxvideodec.c
omx/gstomxvideoenc.c

index c730b1c..0590a97 100644 (file)
@@ -495,7 +495,6 @@ static gboolean
 gst_omx_audio_enc_start (GstAudioEncoder * encoder)
 {
   GstOMXAudioEnc *self;
-  gboolean ret;
 
   self = GST_OMX_AUDIO_ENC (encoder);
 
@@ -503,7 +502,7 @@ gst_omx_audio_enc_start (GstAudioEncoder * encoder)
   self->eos = FALSE;
   self->downstream_flow_ret = GST_FLOW_OK;
 
-  return ret;
+  return TRUE;
 }
 
 static gboolean
index 86f801a..29fc693 100644 (file)
@@ -783,7 +783,6 @@ static gboolean
 gst_omx_video_dec_start (GstVideoDecoder * decoder)
 {
   GstOMXVideoDec *self;
-  gboolean ret;
 
   self = GST_OMX_VIDEO_DEC (decoder);
 
@@ -791,7 +790,7 @@ gst_omx_video_dec_start (GstVideoDecoder * decoder)
   self->eos = FALSE;
   self->downstream_flow_ret = GST_FLOW_OK;
 
-  return ret;
+  return TRUE;
 }
 
 static gboolean
index f671e7f..943dc2f 100644 (file)
@@ -876,7 +876,6 @@ static gboolean
 gst_omx_video_enc_start (GstVideoEncoder * encoder)
 {
   GstOMXVideoEnc *self;
-  gboolean ret;
 
   self = GST_OMX_VIDEO_ENC (encoder);
 
@@ -884,7 +883,7 @@ gst_omx_video_enc_start (GstVideoEncoder * encoder)
   self->eos = FALSE;
   self->downstream_flow_ret = GST_FLOW_OK;
 
-  return ret;
+  return TRUE;
 }
 
 static gboolean