[vlc-commits] codec: videotoolbox: reset vt_feed on stop
Thomas Guillem
git at videolan.org
Mon Sep 11 17:12:20 CEST 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Sep 11 15:22:33 2017 +0200| [2d47f825df780ca275632ff6a78539efc172a7d0] | committer: Thomas Guillem
codec: videotoolbox: reset vt_feed on stop
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2d47f825df780ca275632ff6a78539efc172a7d0
---
modules/codec/videotoolbox.m | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 1e7d7a0ef1..5cd23c2a79 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -835,6 +835,7 @@ static void StopVideoToolbox(decoder_t *p_dec, bool b_reset_format)
CFRelease(p_sys->videoFormatDescription);
p_sys->videoFormatDescription = nil;
}
+ p_sys->b_vt_feed = false;
}
static int RestartVideoToolbox(decoder_t *p_dec, bool b_reset_format)
More information about the vlc-commits
mailing list