1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:58:11 +00:00
serenity/Userland/Libraries/LibVideo
Zaggy1024 18a6a1dd10 LibVideo: Handle corrupted video errors without spamming dialogs
No longer will the video player explode with error dialogs that then
lock the user out of closing them.

To avoid issues where the playback state becomes invalid when an error
occurs, I've made all decoder errors pass through the frame queue.
This way, when a video is corrupted, there should be no chance that the
playback state becomes invalid due to setting the state to Corrupted
in the event handler while a presentation event is still pending.
Or at least I think that was what caused some issues I was seeing :^)

This system should be a lot more robust if any future errors need to be
handled.
2022-11-10 12:32:55 +03:30
..
Color LibVideo: Set CodingIndependentCodePoints in its member functions 2022-10-31 14:47:13 +01:00
VP9 Everywhere: Fix a few comment typos 2022-11-09 16:00:32 +00:00
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
DecoderError.h LibVideo: Abstract media container format demuxing 2022-10-31 14:47:13 +01:00
Demuxer.h LibVideo: Abstract media container format demuxing 2022-10-31 14:47:13 +01:00
MatroskaDemuxer.cpp LibVideo: Abstract media container format demuxing 2022-10-31 14:47:13 +01:00
MatroskaDemuxer.h LibVideo: Abstract media container format demuxing 2022-10-31 14:47:13 +01:00
MatroskaDocument.h LibVideo: Parse the duration of Matroska files 2022-10-31 14:47:13 +01:00
MatroskaReader.cpp LibVideo: Parse the duration of Matroska files 2022-10-31 14:47:13 +01:00
MatroskaReader.h LibVideo: Parse the duration of Matroska files 2022-10-31 14:47:13 +01:00
PlaybackManager.cpp LibVideo: Handle corrupted video errors without spamming dialogs 2022-11-10 12:32:55 +03:30
PlaybackManager.h LibVideo: Handle corrupted video errors without spamming dialogs 2022-11-10 12:32:55 +03:30
Sample.h LibVideo: Abstract media container format demuxing 2022-10-31 14:47:13 +01:00
Track.h LibVideo: Abstract media container format demuxing 2022-10-31 14:47:13 +01:00
VideoDecoder.h LibVideo: Make VP9::Decoder a subclass of a new abstract VideoDecoder 2022-10-31 14:47:13 +01:00
VideoFrame.cpp LibVideo: Add VideoFrame class for decoded video frames 2022-10-31 14:47:13 +01:00
VideoFrame.h LibVideo: Add VideoFrame class for decoded video frames 2022-10-31 14:47:13 +01:00