projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a4034d
)
[MOVED FROM GST-P-FARSIGHT] Robustness check, make sure the queue is not empty before...
author
Youness Alaoui
<youness.alaoui@collabora.co.uk>
Tue, 29 Apr 2008 00:36:00 +0000
(
00:36
+0000)
committer
Edward Hervey
<bilboed@bilboed.com>
Tue, 17 Feb 2009 18:29:05 +0000
(19:29 +0100)
20080429003600
-4f0f6-
708c654b65812caeb3612248dbe0b2e62567c250
.gz
gst/liveadder/liveadder.c
patch
|
blob
|
history
diff --git
a/gst/liveadder/liveadder.c
b/gst/liveadder/liveadder.c
index 12a82cb4076f09091dc5bbe141413c34b91c2e35..67b817e9a1ca4234b51938ec4a63e3cf1c57af3b 100644
(file)
--- a/
gst/liveadder/liveadder.c
+++ b/
gst/liveadder/liveadder.c
@@
-873,6
+873,7
@@
gst_live_live_adder_chain (GstPad *pad, GstBuffer *buffer)
* we may not have to wait for as long
*/
if (adder->clock_id &&
+ g_queue_peek_head (adder->buffers) != NULL &&
GST_BUFFER_TIMESTAMP (buffer) + skip <
GST_BUFFER_TIMESTAMP (g_queue_peek_head (adder->buffers)))
gst_clock_id_unschedule (adder->clock_id);