Skip to content

Commit 2d8bf13

Browse files
authored
temporary logging 2
1 parent 4edc13f commit 2d8bf13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/audio_mixer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ namespace ffmpeg {
243243
return;
244244
}
245245

246-
geode::log::debug("1 timebase {} {}", videoFormatContext->streams[videoStreamIndex]->time_base, outputVideoStream->time_base);
246+
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);
247247

248248
AVPacket packet;
249249
while (true) {
@@ -296,7 +296,7 @@ namespace ffmpeg {
296296
audioPacket.data = nullptr;
297297
audioPacket.size = 0;
298298

299-
geode::log::debug("2 timebase {} {}", audio_codec_context_encoder->time_base, outputAudioStream->time_base);
299+
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);
300300

301301
while (true) {
302302
int ret = avcodec_receive_packet(audio_codec_context_encoder, &audioPacket);

0 commit comments

Comments
 (0)