rtpjitterbuffer: Use an empty iterator in iterate_internal_link when no links
authorThibault Saunier <tsaunier@gnome.org>
Wed, 3 Dec 2014 10:12:55 +0000 (11:12 +0100)
committerThibault Saunier <tsaunier@gnome.org>
Wed, 3 Dec 2014 10:17:11 +0000 (11:17 +0100)
commitaa89278adeead49f6cf1101b640dba8b3c97ba27
tree5dbdf3383ac2afdd0aa2468849fe989a9bbac230
parentb3d1ab52672ac4ca5af7c1aa174c16d7c9a93153
rtpjitterbuffer: Use an empty iterator in iterate_internal_link when no links

We used to setup an iterator with 1 GValue set with a NULL object
pointer which is not the normal way to do that. Instead we should make
sure that the first call to gst_iterator_next returns GST_ITERATOR_DONE.
gst/rtpmanager/gstrtpjitterbuffer.c