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:
b4ac5ea
)
[MOVED FROM GST-P-FARSIGHT] check against audio_buffer_clip which can return NULL...
author
Youness Alaoui
<youness.alaoui@collabora.co.uk>
Tue, 29 Apr 2008 00:03:39 +0000
(
00:03
+0000)
committer
Edward Hervey
<bilboed@bilboed.com>
Tue, 17 Feb 2009 18:29:04 +0000
(19:29 +0100)
20080429000339
-4f0f6-
7e4e31f066b87e29265ddb3978929e51efbff47d
.gz
gst/liveadder/liveadder.c
patch
|
blob
|
history
diff --git
a/gst/liveadder/liveadder.c
b/gst/liveadder/liveadder.c
index
4cd7537
..
c2f236b
100644
(file)
--- a/
gst/liveadder/liveadder.c
+++ b/
gst/liveadder/liveadder.c
@@
-839,6
+839,10
@@
gst_live_live_adder_chain (GstPad *pad, GstBuffer *buffer)
buffer = gst_audio_buffer_clip (buffer, &padprivate->segment, adder->rate,
adder->bps);
+ /* buffer can be NULL if it's completely outside of the segment */
+ if (!buffer)
+ goto out;
+
/*
* Make sure all incoming buffers share the same timestamping
*/