1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 12:57:35 +00:00
serenity/Userland/Libraries/LibVideo
MacDue 9a120d7243 AK: Add support for "debug only" formatters
These are formatters that can only be used with debug print
functions, such as dbgln(). Currently this is limited to
Formatter<ErrorOr<T>>. With this you can still debug log ErrorOr
values (good for debugging), but trying to use them in any
String::formatted() call will fail (which prevents .to_string()
errors with the new failable strings being ignored).

You make a formatter debug only by adding a constexpr method like:
static constexpr bool is_debug_only() { return true; }
2023-01-13 21:09:26 +00:00
..
Color Everywhere: Remove unused includes of AK/Format.h 2023-01-02 20:27:20 -05:00
Containers AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
VP9 LibVideo: Fix two comment typos 2022-12-27 07:44:37 -07:00
CMakeLists.txt LibVideo: Reorganize demuxer file hierarchy and rename Matroska files 2022-11-25 23:28:39 +01:00
DecoderError.h AK: Add support for "debug only" formatters 2023-01-13 21:09:26 +00:00
PlaybackManager.cpp Userland: Use Core::Timer::create_foo() factory functions where possible 2023-01-12 11:25:51 +01:00
PlaybackManager.h Userland: Use Core::Timer::create_foo() factory functions where possible 2023-01-12 11:25:51 +01:00
Sample.h LibVideo: Read Matroska lazily so that large files can start quickly 2022-11-25 23:28:39 +01:00
Track.h LibVideo: Abstract media container format demuxing 2022-10-31 14:47:13 +01:00
VideoDecoder.h LibVideo: Change all Span<u8 const> to ReadonlyBytes 2022-11-12 10:17:27 -07:00
VideoFrame.cpp Everywhere: Remove unused includes of AK/Format.h 2023-01-02 20:27:20 -05:00
VideoFrame.h Everywhere: Remove unused includes of AK/Concepts.h 2023-01-02 20:27:20 -05:00