Skip to content
Snippets Groups Projects
Commit b46940a4 authored by Sesse's avatar Sesse Committed by Rémi Denis-Courmont
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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 &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment