Commit 1d69a9c6 authored by Felix Paul Kühne's avatar Felix Paul Kühne

videotoolbox: fix variable inheritance

parent 90f8255c
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment