]> git.sesse.net Git - ffmpeg/commit
avdevice/decklink_dec: fix stopping streams in read_close
authorMarton Balint <cus@passwd.hu>
Fri, 21 Feb 2020 19:39:31 +0000 (20:39 +0100)
committerMarton Balint <cus@passwd.hu>
Wed, 26 Feb 2020 20:32:56 +0000 (21:32 +0100)
commit95324ecf235a467f6804019e250e59bca576922a
tree24275e7afe03223745d9d38c193e336f23a9b923
parent3e9793cf383054c0e8656996231d006d67bb3067
avdevice/decklink_dec: fix stopping streams in read_close

The capture_started variable was never set, it is simpler to call the stop
functions unconditionally if the interface is available.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavdevice/decklink_common.h
libavdevice/decklink_dec.cpp