[vlc-commits] videotoolbox: fix variable inheritance
Felix Paul Kühne
git at videolan.org
Thu Sep 10 16:41:25 CEST 2015
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Sep 10 16:34:15 2015 +0200| [1d69a9c620757f33bd656d89bcf96f3d13a480bf] | committer: Felix Paul Kühne
videotoolbox: fix variable inheritance
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1d69a9c620757f33bd656d89bcf96f3d13a480bf
---
modules/codec/videotoolbox.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 7c0b968..2af78d5 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -472,7 +472,7 @@ static int StartVideoToolbox(decoder_t *p_dec, block_t *p_block)
return VLC_EGENERIC;
}
- p_sys->b_zero_copy = var_InheritInteger(p_dec, "videotoolbox-zero-copy");
+ p_sys->b_zero_copy = var_InheritBool(p_dec, "videotoolbox-zero-copy");
/* destination pixel buffer attributes */
CFMutableDictionaryRef dpba = CFDictionaryCreateMutable(kCFAllocatorDefault,
More information about the vlc-commits
mailing list