videorate: Mark duplicated frames with the GAP flag
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 20 Aug 2010 10:03:44 +0000 (12:03 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 20 Aug 2010 10:03:44 +0000 (12:03 +0200)
commitac5976960448a65e516934a0d538ea2abcc321ab
treed36cc2542ce38f16306eb5292313f336ceb635fa
parentcd5527fa4e11b770c1e04230fc442ee52c476880
videorate: Mark duplicated frames with the GAP flag

We currently don't use the GAP flag for video and the docs say
that this is for buffers, that have been created to fill a gap
and contains neutral data. For video this is the previous frame.

This information can be used by encoders to encode the duplicated
frames more efficiently. See bug #627459.
gst/videorate/gstvideorate.c