[MOVED FROM BAD 081/134] vp8enc: generate a timestamp for alt-ref frames.
authorAlexey Fisher <bug-track@fisher-privat.net>
Sun, 26 Jun 2011 13:15:54 +0000 (15:15 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 16 Sep 2012 13:27:15 +0000 (15:27 +0200)
commit2d8a989c95acf23c0c02c3b0e9dad0e7ba1b9898
tree1df70a238fe00591699d71ffaf26dc76e285dad5
parent293d37828905c23bbee88af39065e3825d2f4ece
[MOVED FROM BAD 081/134] vp8enc: generate a timestamp for alt-ref frames.

It will fix handling of altref/invisible frames since matroska-mux
drop any fram with no timestamp.

see also:
http://www.webmproject.org/code/specs/container/
The encoder will currently set the AR's timestamp as close as possible
to the previous frame while attempting to provide a timestamp that is
strictly increasing. In cases where the time base given to the encoder
at configure time is not granular enough to allow for this the AR
will share the same timestamp as D, but should be
treated as having no duration.

Fixes bug #652951

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
ext/vp8/gstvp8enc.c