diff options
author | Olivier Crete <olivier.crete@collabora.co.uk> | 2007-09-04 21:52:24 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-02-21 17:48:01 +0100 |
commit | 9c5331b7474b2d435c813dc481bd7e868421800b (patch) | |
tree | cfdbcaa658a3137d0292a4aca07d6a7bd70179da /gst | |
parent | 695cecd229b9666f4bac32c9a6bbf22e375f27f2 (diff) | |
download | gst-plugins-bad-9c5331b7474b2d435c813dc481bd7e868421800b.tar.gz gst-plugins-bad-9c5331b7474b2d435c813dc481bd7e868421800b.tar.bz2 gst-plugins-bad-9c5331b7474b2d435c813dc481bd7e868421800b.zip |
[MOVED FROM GST-P-FARSIGHT] Add comment to explain push back
20070904215224-3e2dc-d92ac1f403dcf571546a7c53f18809f840eea51d.gz
Diffstat (limited to 'gst')
-rw-r--r-- | gst/dtmf/gstdtmfsrc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/dtmf/gstdtmfsrc.c b/gst/dtmf/gstdtmfsrc.c index 0232b723..7f224820 100644 --- a/gst/dtmf/gstdtmfsrc.c +++ b/gst/dtmf/gstdtmfsrc.c @@ -779,6 +779,10 @@ gst_dtmf_src_push_next_tone_packet (GstDTMFSrc *dtmfsrc) event->packet_count = 0; dtmfsrc->last_event = event; } else if (event->event_type == DTMF_EVENT_TYPE_PAUSE_TASK) { + /* + * We're pushing it back because it has to stay in there until + * the task is really paused (and the queue will then be flushed + */ g_async_queue_push (dtmfsrc->event_queue, event); g_async_queue_unref (dtmfsrc->event_queue); return; |