summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzeeshan.ali@nokia.com <zeeshan.ali@nokia.com>2007-02-15 10:26:29 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-21 17:47:56 +0100
commit04413fffc2e88747c001a6b464def276cf7e2c45 (patch)
tree903cb429c57a0f13fe73df67ee0120be0044db3f
parentb392c5041d812ba36687b15918d1a558385415d7 (diff)
downloadgst-plugins-bad-04413fffc2e88747c001a6b464def276cf7e2c45.tar.gz
gst-plugins-bad-04413fffc2e88747c001a6b464def276cf7e2c45.tar.bz2
gst-plugins-bad-04413fffc2e88747c001a6b464def276cf7e2c45.zip
[MOVED FROM GST-P-FARSIGHT] Use pause_task instead of stop_task to avoid any possible deadlocks
20070215102629-65035-a48c773661e385a91e022e0ac1da0862c4206f85.gz
-rw-r--r--gst/rtpdtmf/gstrtpdtmfsrc.c4
1 files changed, 2 insertions, 2 deletions
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;
}