From 83b4c1d89262cd5b7b80470273aa7bd4333fa805 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 20 Dec 2012 12:27:47 +0100 Subject: [PATCH] omx: No need to start the srcpad task in ::start() already It will be started properly after the caps are set. --- omx/gstomxaudioenc.c | 3 --- omx/gstomxvideodec.c | 3 --- omx/gstomxvideoenc.c | 3 --- 3 files changed, 9 deletions(-) diff --git a/omx/gstomxaudioenc.c b/omx/gstomxaudioenc.c index 185ad5a..c730b1c 100644 --- a/omx/gstomxaudioenc.c +++ b/omx/gstomxaudioenc.c @@ -502,9 +502,6 @@ gst_omx_audio_enc_start (GstAudioEncoder * encoder) self->last_upstream_ts = 0; self->eos = FALSE; self->downstream_flow_ret = GST_FLOW_OK; - ret = - gst_pad_start_task (GST_AUDIO_ENCODER_SRC_PAD (self), - (GstTaskFunction) gst_omx_audio_enc_loop, self, NULL); return ret; } diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index ec9b578..86f801a 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -790,9 +790,6 @@ gst_omx_video_dec_start (GstVideoDecoder * decoder) self->last_upstream_ts = 0; self->eos = FALSE; self->downstream_flow_ret = GST_FLOW_OK; - ret = - gst_pad_start_task (GST_VIDEO_DECODER_SRC_PAD (self), - (GstTaskFunction) gst_omx_video_dec_loop, self, NULL); return ret; } diff --git a/omx/gstomxvideoenc.c b/omx/gstomxvideoenc.c index 32e4f97..f671e7f 100644 --- a/omx/gstomxvideoenc.c +++ b/omx/gstomxvideoenc.c @@ -883,9 +883,6 @@ gst_omx_video_enc_start (GstVideoEncoder * encoder) self->last_upstream_ts = 0; self->eos = FALSE; self->downstream_flow_ret = GST_FLOW_OK; - ret = - gst_pad_start_task (GST_VIDEO_ENCODER_SRC_PAD (self), - (GstTaskFunction) gst_omx_video_enc_loop, self, NULL); return ret; } -- 2.7.4