matroskademux: handle blocks with duration=0
authorAlexey Fisher <bug-track@fisher-privat.net>
Thu, 7 Jul 2011 16:27:36 +0000 (18:27 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 8 Jul 2011 07:58:29 +0000 (09:58 +0200)
commita2e0bda3b5d40b545355267bea042a4bdccc46c9
treee4c7c6b40dfa03f5bf35621f512791a97dcfac30
parent4dcc9ee42a61bdcd8f35dc5ee680e5cfa1b930f6
matroskademux: handle blocks with duration=0

Some video frames, for example alt-ref frame in VP8, will be
never displayed. This is why it has duration=0.

This patch allow to use this duration.

Bug: 654175
Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
gst/matroska/matroska-demux.c