X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavdevice%2Fdecklink_dec.cpp;h=7df841b8063891fe2ddc9cfce192f9026cc2b518;hb=e0eb0bdab94837e8557c139685fd997755b36178;hp=c98c51f6bf7db060d1afc097359ea174bb108c6a;hpb=4a485daa7fc50fe5eac7a3fc7ce7d83081fa00e1;p=ffmpeg diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp index c98c51f6bf7..7df841b8063 100644 --- a/libavdevice/decklink_dec.cpp +++ b/libavdevice/decklink_dec.cpp @@ -208,6 +208,7 @@ decklink_input_callback::decklink_input_callback(AVFormatContext *_avctx) : m_re avctx = _avctx; decklink_cctx *cctx = (struct decklink_cctx *)avctx->priv_data; ctx = (struct decklink_ctx *)cctx->ctx; + no_video = 0; initial_audio_pts = initial_video_pts = AV_NOPTS_VALUE; pthread_mutex_init(&m_mutex, NULL); }