baseparse: Fix splitting and reversing of GOPs in reverse playback mode
authorSebastian Dröge <sebastian@centricular.com>
Sat, 29 Mar 2014 09:16:12 +0000 (10:16 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 29 Mar 2014 09:32:25 +0000 (10:32 +0100)
commita76db74496ec139da723e34cd384edf073f91a06
tree812ce33b1372fa8ed7b1e3009ce968c9c3d53e6e
parentf85ce91e9d148fde9e8774c64f129f912a1e47ff
baseparse: Fix splitting and reversing of GOPs in reverse playback mode

We iterate the current discont group backwards and push each GOP forwards,
starting from the last one. However if the first buffer in the current
discont group is a keyframe, we will keep it around until next time,
which is far from ideal. Just push it.
libs/gst/base/gstbaseparse.c