Commit Graph

6 Commits

Author SHA1 Message Date
Jacob Wischnat
5cf467c86d LibMedia: Support videos with BT470BG color matrix
(cherry picked from commit 7a03ef45c2fa7f416a26955593fda34c4521f123)
2024-07-13 17:37:23 -04:00
Zaggy1024
98c74df103 LibMedia: Move VideoSampleData out of the Video namespace
(cherry picked from commit 3cc11870362934f93dea477efcd767929d238b74)
2024-07-04 22:09:32 +02:00
Zaggy1024
077d63c6f3 LibMedia: Flush the video decoder when seeking
This allows H.264 videos to seek correctly.

(cherry picked from commit 8848ee775befd10cd404f70812b95b0bd3e959d0)
2024-07-04 22:09:32 +02:00
Zaggy1024
2bfaaa967c LibMedia: Give frame timestamps to video decoders
H.264 in Matroska can have blocks with unordered timestamps. Without
passing these to the decoder when providing data, the decoder will be
unable to reorder the frames to presentation order.

VideoFrame will now include a timestamp that is used by the
PlaybackManager, rather than assuming that it is the same timestamp
returned by the demuxer.

(cherry picked from commit f6a4973578c4692f33283aee1c089afd0cdae508)
2024-07-04 22:09:32 +02:00
Zaggy1024
55173b7b08 LibMedia: Make Media::Sample final using Variant for auxiliary data
We don't need to allocate these little things onto the heap, that's
silly.

(cherry picked from commit 5a6950be8ea0830dd5b810e6a6bd7e2e8326e4df)
2024-07-04 22:09:32 +02:00
Zaggy1024
0a525881b6 LibMedia: Rename LibVideo to LibMedia
This change is in preparation for implementing audio codecs into the
library and using audio as timing for video playback.

(cherry picked from commit 7c10e1a08d7a109b63c9258578eb98aa9dcc1425)
2024-07-04 22:09:32 +02:00