Skip to content
Snippets Groups Projects
Commit 32b7a35d authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

packetizer: hevc: fix rate update comparison

parent 48b08b83
No related branches found
No related tags found
No related merge requests found
......@@ -461,7 +461,7 @@ static void ActivateSets(decoder_t *p_dec,
{
p_dec->fmt_out.video.i_frame_rate = num;
p_dec->fmt_out.video.i_frame_rate_base = den;
if(p_sys->dts.i_divider_den != den && p_sys->dts.i_divider_num != num)
if(p_sys->dts.i_divider_den != den && p_sys->dts.i_divider_num != 2 * num)
date_Change(&p_sys->dts, 2 * num, 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