projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6219312
)
rtpsession: Use an empty iterator in iterate_internal_link when no links
author
Thibault Saunier
<tsaunier@gnome.org>
Wed, 3 Dec 2014 16:26:56 +0000
(17:26 +0100)
committer
Thibault Saunier
<tsaunier@gnome.org>
Tue, 9 Dec 2014 19:38:22 +0000
(20:38 +0100)
And not a NULL Iterator, so it is consistent with the way it usually
works and avoid user to need a different code paths to handle that.
gst/rtpmanager/gstrtpsession.c
patch
|
blob
|
history
diff --git
a/gst/rtpmanager/gstrtpsession.c
b/gst/rtpmanager/gstrtpsession.c
index
88293cc
..
8c7306b
100644
(file)
--- a/
gst/rtpmanager/gstrtpsession.c
+++ b/
gst/rtpmanager/gstrtpsession.c
@@
-1676,6
+1676,8
@@
gst_rtp_session_iterate_internal_links (GstPad * pad, GstObject * parent)
it = gst_iterator_new_single (GST_TYPE_PAD, &val);
g_value_unset (&val);
gst_object_unref (otherpad);
+ } else {
+ it = gst_iterator_new_single (GST_TYPE_PAD, NULL);
}
return it;