From 2d8bf13e9b01997e738355ae96a1efa2d2dac37a Mon Sep 17 00:00:00 2001 From: maxnut <54683950+maxnut@users.noreply.github.com> Date: Mon, 25 Nov 2024 11:46:39 +0100 Subject: [PATCH] temporary logging 2 --- src/audio_mixer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/audio_mixer.cpp b/src/audio_mixer.cpp index a891968..14fd7a5 100644 --- a/src/audio_mixer.cpp +++ b/src/audio_mixer.cpp @@ -243,7 +243,7 @@ namespace ffmpeg { return; } - geode::log::debug("1 timebase {} {}", videoFormatContext->streams[videoStreamIndex]->time_base, outputVideoStream->time_base); + geode::log::debug("1 timebase {} {} {} {}", videoFormatContext->streams[videoStreamIndex]->time_base.num, videoFormatContext->streams[videoStreamIndex]->time_base.den, outputVideoStream->time_base.num, outputVideoStream->time_base.den); AVPacket packet; while (true) { @@ -296,7 +296,7 @@ namespace ffmpeg { audioPacket.data = nullptr; audioPacket.size = 0; - geode::log::debug("2 timebase {} {}", audio_codec_context_encoder->time_base, outputAudioStream->time_base); + geode::log::debug("2 timebase {} {}", audio_codec_context_encoder->time_base.num, audio_codec_context_encoder->time_base.den, outputAudioStream->time_base.num, outputAudioStream->time_base.den); while (true) { int ret = avcodec_receive_packet(audio_codec_context_encoder, &audioPacket);