X-Git-Url: https://git.sesse.net/?p=nageru;a=blobdiff_plain;f=theme.cpp;h=55088ef8bf3c01100ff9665c3225ed691c645909;hp=cea91726e7dfa0730fc6ea17a6d5d156f1f5cc63;hb=refs%2Fheads%2Fffmpeg-audio-only;hpb=4c144e82c20912463cf7268723e564fa6eb8f1c0 diff --git a/theme.cpp b/theme.cpp index cea9172..55088ef 100644 --- a/theme.cpp +++ b/theme.cpp @@ -1007,6 +1007,9 @@ void LiveInputWrapper::connect_signal_raw(int signal_num, const InputState &inpu const PBOFrameAllocator::Userdata *userdata = (const PBOFrameAllocator::Userdata *)first_frame.frame->userdata; width = userdata->last_width[first_frame.field_number]; height = userdata->last_height[first_frame.field_number]; + if (userdata->last_interlaced) { + height *= 2; + } } movit::YCbCrLumaCoefficients ycbcr_coefficients = input_state.ycbcr_coefficients[signal_num];