Commit 4931a4b
authored
seekable: Do validation of stream duration (#437)
Some seekable stream may not always have a duration
so need to do validation of "metadata.duration" before
using it to calculate seekable time ranges.
Fixes: servo/servo#36748
Fixes: servo/servo#36809
Co-authored-by: Mitchel Stewart
Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com>1 parent eb96030 commit 4931a4b
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
805 | 805 | | |
806 | 806 | | |
807 | 807 | | |
808 | | - | |
809 | | - | |
810 | | - | |
811 | | - | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
812 | 814 | | |
813 | 815 | | |
814 | 816 | | |
| |||
0 commit comments