Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/FrameMapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ std::shared_ptr<Frame> FrameMapper::GetFrame(int64_t requested_frame)
// Only treat the reader as audio-capable when the wrapped reader reports
// audio. Individual source frames can still be empty near boundaries, but
// those cases should pad with silence instead of dropping this mapped frame.
const bool reader_has_audio = reader->info.has_audio &&
const bool reader_has_audio = info.has_audio &&
mapped_frame->SampleRate() > 0 &&
mapped_frame->GetAudioChannelsCount() > 0;

Expand Down
Loading