}
if (audio_streams_.back().size() > 32 * audio_cadence_.front() * audio_channel_layout_.num_channels)
- BOOST_THROW_EXCEPTION(invalid_operation() << source_info("frame_muxer") << msg_info("audio-stream overflow. This can be caused by incorrect frame-rate. Check clip meta-data."));
+ CASPAR_THROW_EXCEPTION(invalid_operation() << source_info("frame_muxer") << msg_info("audio-stream overflow. This can be caused by incorrect frame-rate. Check clip meta-data."));
}
bool video_ready() const
frame_buffer_.push(core::draw_frame(std::move(frame)));
- return frame_buffer_.empty() ? core::draw_frame::empty() : poll();
+ return poll();
}
core::mutable_frame pop_video()
display_mode_ = display_mode::simple;
auto mode = get_mode(*frame);
- if (mode == core::field_mode::progressive && frame->height < 720 && in_framerate_ < 50) // SD frames are interlaced. Probably incorrect meta-data. Fix it.
- mode = core::field_mode::upper;
if (filter::is_deinterlacing(filter_str_))
{