From e84fee648812c20e4485c3187f9de84f16859f5a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 20 Jun 2012 11:09:13 +0100 Subject: [PATCH] omx: Fix compilation after gst_pad_start_task() API changes --- omx/gstomxaudioenc.c | 6 +++--- omx/gstomxvideodec.c | 6 +++--- omx/gstomxvideoenc.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/omx/gstomxaudioenc.c b/omx/gstomxaudioenc.c index d87e687..7675156 100644 --- a/omx/gstomxaudioenc.c +++ b/omx/gstomxaudioenc.c @@ -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 diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index 45d2b22..730769e 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -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"); diff --git a/omx/gstomxvideoenc.c b/omx/gstomxvideoenc.c index c12697d..7d94b31 100644 --- a/omx/gstomxvideoenc.c +++ b/omx/gstomxvideoenc.c @@ -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; } -- 2.7.4