diff --git a/Libraries/LibMedia/FFmpeg/FFmpegVideoDecoder.cpp b/Libraries/LibMedia/FFmpeg/FFmpegVideoDecoder.cpp index f403497f417..77edfa8ddf2 100644 --- a/Libraries/LibMedia/FFmpeg/FFmpegVideoDecoder.cpp +++ b/Libraries/LibMedia/FFmpeg/FFmpegVideoDecoder.cpp @@ -60,7 +60,7 @@ DecoderErrorOr> FFmpegVideoDecoder::try_create return DecoderError::format(DecoderErrorCategory::Memory, "Failed to allocate FFmpeg codec context for codec {}", codec_id); codec_context->get_format = negotiate_output_format; - + codec_context->time_base = { 1, 1'000'000 }; codec_context->thread_count = static_cast(min(Core::System::hardware_concurrency(), 4)); if (!codec_initialization_data.is_empty()) {