avisynth: Fix setting stream timebase
authorMarton Balint <cus@passwd.hu>
Mon, 8 Aug 2016 23:24:18 +0000 (19:24 -0400)
committerDiego Biurrun <diego@biurrun.de>
Thu, 17 Nov 2016 08:21:23 +0000 (09:21 +0100)
commitbcefafa226dcda23d4d9af9601d19389cb918a5b
tree5a8c04c61019b3ae38c59e2e7c941972edb3037a
parent481ff3cf018811ba3235f1c236e970f32a6300b9
avisynth: Fix setting stream timebase

Stream timebase should be set using avpriv_set_pts_info, otherwise
avctx->pkt_timebase is not correct, leading to A/V desync.

Signed-off-by: Marton Balint <cus@passwd.hu>
Reviewed-by: Stephen Hutchinson <qyot27@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavformat/avisynth.c