bin: When copying the sort iterator, also copy its internal queue
authorKouhei Sutou <kou@clear-code.com>
Mon, 19 Sep 2016 14:04:55 +0000 (10:04 -0400)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 19 Sep 2016 14:04:55 +0000 (10:04 -0400)
commita43de49d522178d592c44149fd284418e8314336
treecb7ea49cf8352336962dac2cffc2fa2a1406d309
parent5de03542ea2c77ef50444965739adcd9dc590526
bin: When copying the sort iterator, also copy its internal queue

Otherwise both iterators share the same references, the second one
usually resulting in a crash when being freed.

https://bugzilla.gnome.org/show_bug.cgi?id=771649
gst/gstbin.c