projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af3c347
)
vtdec: No need to set kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDeco...
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 15 Sep 2014 12:42:41 +0000
(15:42 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Mon, 15 Sep 2014 12:42:41 +0000
(15:42 +0300)
sys/applemedia/vtdec.c
patch
|
blob
|
history
diff --git
a/sys/applemedia/vtdec.c
b/sys/applemedia/vtdec.c
index 2d2e0b5f38197b864f7d2ce2d348093b311a15ed..2c92b0f920e362f083528acfe046a78827d4dea4 100644
(file)
--- a/
sys/applemedia/vtdec.c
+++ b/
sys/applemedia/vtdec.c
@@
-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,