omx: No need to start the srcpad task in ::start() already

It will be started properly after the caps are set.
This commit is contained in:
Sebastian Dröge 2012-12-20 12:27:47 +01:00
parent 4ef40839a2
commit 83b4c1d892
3 changed files with 0 additions and 9 deletions

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}