aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/gdigrab.c
diff options
context:
space:
mode:
authorDevin Heitmueller <devin.heitmueller@ltnglobal.com>2023-03-03 16:08:14 -0500
committerMarton Balint <cus@passwd.hu>2023-03-08 23:53:19 +0100
commit25d09ac0eb175fa75da7107eb2f05e5b17152ffa (patch)
treec1c71871824c9678802ea522de2e750421c41f08 /libavdevice/gdigrab.c
parent8fd345f0180c655d18071d0445d797f27bb1efe7 (diff)
downloadffmpeg-25d09ac0eb175fa75da7107eb2f05e5b17152ffa.tar.gz
avdevice/decklink_enc: fix setting of last_pts to only be set for video
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>
Diffstat (limited to 'libavdevice/gdigrab.c')
0 files changed, 0 insertions, 0 deletions