omx: Fix compilation after gst_pad_start_task() API changes

This commit is contained in:
Sebastian Dröge 2012-06-20 11:09:13 +01:00
parent 7f63cc1e1c
commit e84fee6488
3 changed files with 9 additions and 9 deletions

View file

@ -497,7 +497,7 @@ gst_omx_audio_enc_start (GstAudioEncoder * encoder)
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);
(GstTaskFunction) gst_omx_audio_enc_loop, self, NULL);
return ret;
}
@ -691,7 +691,7 @@ gst_omx_audio_enc_set_format (GstAudioEncoder * encoder, GstAudioInfo * info)
/* Start the srcpad loop again */
self->downstream_flow_ret = GST_FLOW_OK;
gst_pad_start_task (GST_AUDIO_ENCODER_SRC_PAD (self),
(GstTaskFunction) gst_omx_audio_enc_loop, encoder);
(GstTaskFunction) gst_omx_audio_enc_loop, encoder, NULL);
return TRUE;
}
@ -724,7 +724,7 @@ gst_omx_audio_enc_flush (GstAudioEncoder * encoder)
self->downstream_flow_ret = GST_FLOW_OK;
self->eos = FALSE;
gst_pad_start_task (GST_AUDIO_ENCODER_SRC_PAD (self),
(GstTaskFunction) gst_omx_audio_enc_loop, encoder);
(GstTaskFunction) gst_omx_audio_enc_loop, encoder, NULL);
}
static GstFlowReturn

View file

@ -779,7 +779,7 @@ gst_omx_video_dec_start (GstBaseVideoDecoder * decoder)
self->downstream_flow_ret = GST_FLOW_OK;
ret =
gst_pad_start_task (GST_BASE_VIDEO_CODEC_SRC_PAD (self),
(GstTaskFunction) gst_omx_video_dec_loop, self);
(GstTaskFunction) gst_omx_video_dec_loop, self, NULL);
return ret;
}
@ -1074,7 +1074,7 @@ gst_omx_video_dec_set_format (GstBaseVideoDecoder * decoder,
/* Start the srcpad loop again */
self->downstream_flow_ret = GST_FLOW_OK;
gst_pad_start_task (GST_BASE_VIDEO_CODEC_SRC_PAD (self),
(GstTaskFunction) gst_omx_video_dec_loop, decoder);
(GstTaskFunction) gst_omx_video_dec_loop, decoder, NULL);
return TRUE;
}
@ -1109,7 +1109,7 @@ gst_omx_video_dec_reset (GstBaseVideoDecoder * decoder)
self->eos = FALSE;
self->downstream_flow_ret = GST_FLOW_OK;
gst_pad_start_task (GST_BASE_VIDEO_CODEC_SRC_PAD (self),
(GstTaskFunction) gst_omx_video_dec_loop, decoder);
(GstTaskFunction) gst_omx_video_dec_loop, decoder, NULL);
GST_DEBUG_OBJECT (self, "Reset decoder");

View file

@ -865,7 +865,7 @@ gst_omx_video_enc_start (GstBaseVideoEncoder * encoder)
self->downstream_flow_ret = GST_FLOW_OK;
ret =
gst_pad_start_task (GST_BASE_VIDEO_CODEC_SRC_PAD (self),
(GstTaskFunction) gst_omx_video_enc_loop, self);
(GstTaskFunction) gst_omx_video_enc_loop, self, NULL);
return ret;
}
@ -1013,7 +1013,7 @@ gst_omx_video_enc_set_format (GstBaseVideoEncoder * encoder,
/* Start the srcpad loop again */
self->downstream_flow_ret = GST_FLOW_OK;
gst_pad_start_task (GST_BASE_VIDEO_CODEC_SRC_PAD (self),
(GstTaskFunction) gst_omx_video_enc_loop, encoder);
(GstTaskFunction) gst_omx_video_enc_loop, encoder, NULL);
return TRUE;
}
@ -1048,7 +1048,7 @@ gst_omx_video_enc_reset (GstBaseVideoEncoder * encoder)
self->eos = FALSE;
self->downstream_flow_ret = GST_FLOW_OK;
gst_pad_start_task (GST_BASE_VIDEO_CODEC_SRC_PAD (self),
(GstTaskFunction) gst_omx_video_enc_loop, encoder);
(GstTaskFunction) gst_omx_video_enc_loop, encoder, NULL);
return TRUE;
}