Skip to content

Commit

Permalink
temporary logging 2
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnut authored Nov 25, 2024
1 parent 4edc13f commit 2d8bf13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/audio_mixer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 2d8bf13

Please sign in to comment.