mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-24 17:44:14 +00:00
omx: Fix ununsed variable compiler warning
This commit is contained in:
parent
83b4c1d892
commit
1d01c0ebf0
3 changed files with 3 additions and 6 deletions
|
@ -495,7 +495,6 @@ static gboolean
|
||||||
gst_omx_audio_enc_start (GstAudioEncoder * encoder)
|
gst_omx_audio_enc_start (GstAudioEncoder * encoder)
|
||||||
{
|
{
|
||||||
GstOMXAudioEnc *self;
|
GstOMXAudioEnc *self;
|
||||||
gboolean ret;
|
|
||||||
|
|
||||||
self = GST_OMX_AUDIO_ENC (encoder);
|
self = GST_OMX_AUDIO_ENC (encoder);
|
||||||
|
|
||||||
|
@ -503,7 +502,7 @@ gst_omx_audio_enc_start (GstAudioEncoder * encoder)
|
||||||
self->eos = FALSE;
|
self->eos = FALSE;
|
||||||
self->downstream_flow_ret = GST_FLOW_OK;
|
self->downstream_flow_ret = GST_FLOW_OK;
|
||||||
|
|
||||||
return ret;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|
|
@ -783,7 +783,6 @@ static gboolean
|
||||||
gst_omx_video_dec_start (GstVideoDecoder * decoder)
|
gst_omx_video_dec_start (GstVideoDecoder * decoder)
|
||||||
{
|
{
|
||||||
GstOMXVideoDec *self;
|
GstOMXVideoDec *self;
|
||||||
gboolean ret;
|
|
||||||
|
|
||||||
self = GST_OMX_VIDEO_DEC (decoder);
|
self = GST_OMX_VIDEO_DEC (decoder);
|
||||||
|
|
||||||
|
@ -791,7 +790,7 @@ gst_omx_video_dec_start (GstVideoDecoder * decoder)
|
||||||
self->eos = FALSE;
|
self->eos = FALSE;
|
||||||
self->downstream_flow_ret = GST_FLOW_OK;
|
self->downstream_flow_ret = GST_FLOW_OK;
|
||||||
|
|
||||||
return ret;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|
|
@ -876,7 +876,6 @@ static gboolean
|
||||||
gst_omx_video_enc_start (GstVideoEncoder * encoder)
|
gst_omx_video_enc_start (GstVideoEncoder * encoder)
|
||||||
{
|
{
|
||||||
GstOMXVideoEnc *self;
|
GstOMXVideoEnc *self;
|
||||||
gboolean ret;
|
|
||||||
|
|
||||||
self = GST_OMX_VIDEO_ENC (encoder);
|
self = GST_OMX_VIDEO_ENC (encoder);
|
||||||
|
|
||||||
|
@ -884,7 +883,7 @@ gst_omx_video_enc_start (GstVideoEncoder * encoder)
|
||||||
self->eos = FALSE;
|
self->eos = FALSE;
|
||||||
self->downstream_flow_ret = GST_FLOW_OK;
|
self->downstream_flow_ret = GST_FLOW_OK;
|
||||||
|
|
||||||
return ret;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|
Loading…
Reference in a new issue