From 04413fffc2e88747c001a6b464def276cf7e2c45 Mon Sep 17 00:00:00 2001 From: "zeeshan.ali@nokia.com" Date: Thu, 15 Feb 2007 10:26:29 +0000 Subject: [MOVED FROM GST-P-FARSIGHT] Use pause_task instead of stop_task to avoid any possible deadlocks 20070215102629-65035-a48c773661e385a91e022e0ac1da0862c4206f85.gz --- gst/rtpdtmf/gstrtpdtmfsrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst/rtpdtmf') diff --git a/gst/rtpdtmf/gstrtpdtmfsrc.c b/gst/rtpdtmf/gstrtpdtmfsrc.c index d0d40a41..d535271f 100644 --- a/gst/rtpdtmf/gstrtpdtmfsrc.c +++ b/gst/rtpdtmf/gstrtpdtmfsrc.c @@ -421,8 +421,8 @@ gst_rtp_dtmf_src_stop (GstRTPDTMFSrc *dtmfsrc) { g_return_if_fail (dtmfsrc->payload != NULL); - if (!gst_pad_stop_task (dtmfsrc->srcpad)) { - GST_ERROR_OBJECT (dtmfsrc, "Failed to stop task on src pad"); + if (!gst_pad_pause_task (dtmfsrc->srcpad)) { + GST_ERROR_OBJECT (dtmfsrc, "Failed to pause task on src pad"); return; } -- cgit v1.2.1