summaryrefslogtreecommitdiff
path: root/libavdevice/decklink_common.h
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2020-02-21 20:39:31 +0100
committerMarton Balint <cus@passwd.hu>2020-02-26 21:32:56 +0100
commit95324ecf235a467f6804019e250e59bca576922a (patch)
tree24275e7afe03223745d9d38c193e336f23a9b923 /libavdevice/decklink_common.h
parent3e9793cf383054c0e8656996231d006d67bb3067 (diff)
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>
Diffstat (limited to 'libavdevice/decklink_common.h')
-rw-r--r--libavdevice/decklink_common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavdevice/decklink_common.h b/libavdevice/decklink_common.h
index 8b3dbce2fb..27ce6a8a40 100644
--- a/libavdevice/decklink_common.h
+++ b/libavdevice/decklink_common.h
@@ -115,7 +115,6 @@ struct decklink_ctx {
/* Status */
int playback_started;
- int capture_started;
int64_t last_pts;
unsigned long frameCount;
unsigned int dropped;