Commit 03d90225 authored by Oleksij Rempel (Alexey Fisher)'s avatar Oleksij Rempel (Alexey Fisher) Committed by Sebastian Dröge

[MOVED FROM BAD 099/134] vp8dec: use is_alt_data option to prevent timestamp collisions

altref/invisible frames usually stored in container with same timestamp as
dependet frame. This make basevideodecoder to update timestamp for dependet
frame and couse TS colision on next frame:

                 ^- here is altref
time     : 1 2 3 4 5 6 7 8 9
webm ts  : 1   3 5 5   7   9
vp8dec ts: 1   3   7   7   9

Fix bug: https://bugzilla.gnome.org/show_bug.cgi?id=655245Signed-off-by: default avatarOleksij Rempel (Alexey Fisher) <bug-track@fisher-privat.net>
parent 772f7b66
......@@ -493,6 +493,7 @@ gst_vp8_dec_handle_frame (GstBaseVideoDecoder * decoder,
}
} else {
/* Invisible frame */
frame->decode_only = 1;
gst_base_video_decoder_finish_frame (decoder, frame);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment