diff options
author | maxd <[email protected]> | 2013-09-23 21:36:35 +0000 |
---|---|---|
committer | maxd <[email protected]> | 2013-09-23 21:36:35 +0000 |
commit | 203b7a961fca0513ad09c1b9761faeac26d2edd0 (patch) | |
tree | 7451ed4eb6034e433279fb9e0a6717540eb91ae6 /libhb | |
parent | 5e712218d8eb3f71a06356ed6f952b86ca947fca (diff) |
QSV: fix for VPP if VFR
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5799 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/qsv_filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/qsv_filter.c b/libhb/qsv_filter.c index 20786d343..5bc61fd9e 100644 --- a/libhb/qsv_filter.c +++ b/libhb/qsv_filter.c @@ -151,8 +151,8 @@ static int filter_init( av_qsv_context* qsv, hb_filter_private_t * pv ){ qsv_vpp->m_mfxVideoParam.vpp.In.CropY = pv->crop[0]; qsv_vpp->m_mfxVideoParam.vpp.In.CropW = pv-> width_in - pv->crop[3] - pv->crop[2]; qsv_vpp->m_mfxVideoParam.vpp.In.CropH = pv->height_in - pv->crop[1] - pv->crop[0]; - qsv_vpp->m_mfxVideoParam.vpp.In.FrameRateExtN = qsv->dec_space->m_mfxVideoParam.mfx.FrameInfo.FrameRateExtN; - qsv_vpp->m_mfxVideoParam.vpp.In.FrameRateExtD = qsv->dec_space->m_mfxVideoParam.mfx.FrameInfo.FrameRateExtD; + qsv_vpp->m_mfxVideoParam.vpp.In.FrameRateExtN = pv->job->vrate; + qsv_vpp->m_mfxVideoParam.vpp.In.FrameRateExtD = pv->job->vrate_base; qsv_vpp->m_mfxVideoParam.vpp.In.AspectRatioW = qsv->dec_space->m_mfxVideoParam.mfx.FrameInfo.AspectRatioW; qsv_vpp->m_mfxVideoParam.vpp.In.AspectRatioH = qsv->dec_space->m_mfxVideoParam.mfx.FrameInfo.AspectRatioH; qsv_vpp->m_mfxVideoParam.vpp.In.Width = qsv->dec_space->m_mfxVideoParam.mfx.FrameInfo.Width; |