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:
5141641
)
pad: gst_pad_iterate_internal_links() can return NULL if there are none
author
Sebastian Dröge
<sebastian@centricular.com>
Thu, 12 Feb 2015 12:03:15 +0000
(14:03 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 12 Feb 2015 12:03:15 +0000
(14:03 +0200)
gst/gstpad.c
patch
|
blob
|
history
diff --git
a/gst/gstpad.c
b/gst/gstpad.c
index
f6cdf73
..
32d6756
100644
(file)
--- a/
gst/gstpad.c
+++ b/
gst/gstpad.c
@@
-3106,6
+3106,10
@@
gst_pad_query_latency_default (GstPad * pad, GstQuery * query)
LatencyFoldData fold_data;
it = gst_pad_iterate_internal_links (pad);
+ if (!it) {
+ GST_DEBUG_OBJECT (pad, "Can't iterate internal links");
+ return FALSE;
+ }
retry:
fold_data.live = FALSE;