mirror of https://github.com/FFmpeg/FFmpeg.git
The ff_decklink_write_packet() was always caching the last pts received, to be used when calling StopScheduledPlayback(). However because audio and video are on different timebases and the call to StopScheduledPlayback() expects the video timebase, we'll end up sending a weird value to the stop routine if the last packet received contained audio. Move the setting of last_pts to just be for the video stream. Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com> Signed-off-by: Marton Balint <cus@passwd.hu>pull/389/head
parent
8fd345f018
commit
25d09ac0eb
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue