projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
695cecd
)
[MOVED FROM GST-P-FARSIGHT] Add comment to explain push back
author
Olivier Crete
<olivier.crete@collabora.co.uk>
Tue, 4 Sep 2007 21:52:24 +0000
(21:52 +0000)
committer
Edward Hervey
<bilboed@bilboed.com>
Sat, 21 Feb 2009 16:48:01 +0000
(17:48 +0100)
20070904215224
-3e2dc-
d92ac1f403dcf571546a7c53f18809f840eea51d
.gz
gst/dtmf/gstdtmfsrc.c
patch
|
blob
|
history
diff --git
a/gst/dtmf/gstdtmfsrc.c
b/gst/dtmf/gstdtmfsrc.c
index 0232b723ccf86e5c330c87b64ee65f919cd9c496..7f22482057a81e0fc1574b6de4eb59745fa64f04 100644
(file)
--- 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;