mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
vtdec: No need to set kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDecoder on iOS
This commit is contained in:
parent
af3c3473e0
commit
0f0a50c119
1 changed files with 4 additions and 0 deletions
|
@ -322,8 +322,12 @@ gst_vtdec_create_session (GstVtdec * vtdec)
|
|||
videoDecoderSpecification =
|
||||
CFDictionaryCreateMutable (NULL, 0, &kCFTypeDictionaryKeyCallBacks,
|
||||
&kCFTypeDictionaryValueCallBacks);
|
||||
|
||||
/* This is the default on iOS and the key does not exist there */
|
||||
#ifndef HAVE_IOS
|
||||
gst_vtutil_dict_set_boolean (videoDecoderSpecification,
|
||||
kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDecoder, TRUE);
|
||||
#endif
|
||||
|
||||
output_image_buffer_attrs =
|
||||
CFDictionaryCreateMutable (NULL, 0, &kCFTypeDictionaryKeyCallBacks,
|
||||
|
|
Loading…
Reference in a new issue