[vlc-commits] packetizer: hevc: fix rate update comparison
Francois Cartegnie
git at videolan.org
Wed Apr 5 19:49:28 CEST 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Apr 5 19:46:57 2017 +0200| [32b7a35d223c631e107d9d8f81f4703831f1f648] | committer: Francois Cartegnie
packetizer: hevc: fix rate update comparison
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=32b7a35d223c631e107d9d8f81f4703831f1f648
---
modules/packetizer/hevc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/packetizer/hevc.c b/modules/packetizer/hevc.c
index bd5b296..94286b7 100644
--- a/modules/packetizer/hevc.c
+++ b/modules/packetizer/hevc.c
@@ -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);
}
}
More information about the vlc-commits
mailing list