Commit b46940a4 authored by Steinar H. Gunderson's avatar Steinar H. Gunderson Committed by Rémi Denis-Courmont

Fix frame rate output from deinterlacer

In the deinterlacer module, when b_double_rate is set, actually
double the frame rate in the output format.
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 55e27bb1
......@@ -240,6 +240,11 @@ void GetOutputFormat( filter_t *p_filter,
p_dst->i_sar_den *= 2;
}
if( p_sys->b_double_rate )
{
p_dst->i_frame_rate *= 2;
}
if( p_sys->i_mode == DEINTERLACE_PHOSPHOR &&
2 * p_sys->chroma->p[1].h.num == p_sys->chroma->p[1].h.den &&
2 * p_sys->chroma->p[2].h.num == p_sys->chroma->p[2].h.den &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment