Commit 847c7a18 authored by Felix Paul Kühne's avatar Felix Paul Kühne

thumbnailer: disable zero-copy rendering for thumbnails

parent 45d4010f
......@@ -205,6 +205,7 @@ void unlock(void *opaque, void *picture, void *const *p_pixels)
_mp = libvlc_media_player_new(self.libVLCinstance);
libvlc_media_add_option([_media libVLCMediaDescriptor], "no-audio");
libvlc_media_add_option([_media libVLCMediaDescriptor], "no-videotoolbox-zero-copy");
libvlc_media_player_set_media(_mp, [_media libVLCMediaDescriptor]);
libvlc_video_set_format(_mp, "RGBA", imageWidth, imageHeight, 4 * imageWidth);
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