videodecoder: Don't push late frames
authorEdward Hervey <edward@centricular.com>
Tue, 7 Jun 2016 07:48:35 +0000 (09:48 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 9 Jun 2016 14:21:45 +0000 (17:21 +0300)
commit8bee96c4a2a377e325fb59c6535fee3767096307
tree5708b8f6ff98974320827834586819c45bed52d8
parent5bef865f9fc72a8015670541a9175fcdc7e51fc2
videodecoder: Don't push late frames

While it's a bit tricky to discard frames *before* decoding (because
we might not be sure which data is needed or not by the decoder), we
can discard them after decoding if they are too late anyway.

Any following basetransform based element or similar would drop the frame too.
gst-libs/gst/video/gstvideodecoder.c