summaryrefslogtreecommitdiff
path: root/Userland/Applications
diff options
context:
space:
mode:
authorZaggy1024 <zaggy1024@gmail.com>2022-11-11 17:14:27 -0600
committerAndreas Kling <kling@serenityos.org>2022-11-25 23:28:39 +0100
commit393cfdd5c5023a038e430f7c52293a814b3dba0d (patch)
treebfa9364896eefa2295d067f263c637679f651ec6 /Userland/Applications
parentf4c476b26fd9a748127882d70a7b9b0eb09d1335 (diff)
downloadserenity-393cfdd5c5023a038e430f7c52293a814b3dba0d.zip
LibVideo: Read Matroska lazily so that large files can start quickly
The Demuxer class was changed to return errors for more functions so that all of the underlying reading can be done lazily. Other than that, the demuxer interface is unchanged, and only the underlying reader was modified. The MatroskaDocument class is no more, and MatroskaReader's getter functions replace it. Every MatroskaReader getter beyond the Segment element's position is parsed lazily from the file as needed. This means that all getter functions can return DecoderErrors which must be handled by callers.
Diffstat (limited to 'Userland/Applications')
0 files changed, 0 insertions, 0 deletions