decodebin: Store extra_buffer_required per group, not globally
authorSebastian Dröge <sebastian@centricular.com>
Tue, 18 Aug 2015 12:01:33 +0000 (15:01 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 18 Aug 2015 12:19:03 +0000 (15:19 +0300)
commit1ea81114ea6bd48b581f19002018680933aa7a12
treef080fc34f818eb65b8965fd43177b2e1b3c70300
parent5c8ef0ea05123506dfc35c70c8b165bca7435dad
decodebin: Store extra_buffer_required per group, not globally

It's only relevant for each group, and by storing it in the group
we have locking and everything else like for the other buffering-related
variables. Locking looks a bit fishy still, but it was like that for a long
time already so shouldn't be worse than before.
gst/playback/gstdecodebin2.c