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:
5c48440
)
vtenc: fix compilation on < 10.9
author
Alessandro Decina
<alessandro.d@gmail.com>
Wed, 12 Nov 2014 08:59:53 +0000
(09:59 +0100)
committer
Alessandro Decina
<alessandro.d@gmail.com>
Wed, 12 Nov 2014 09:00:11 +0000
(10:00 +0100)
sys/applemedia/vtenc.c
patch
|
blob
|
history
diff --git
a/sys/applemedia/vtenc.c
b/sys/applemedia/vtenc.c
index
e02c182
..
5e48c8b
100644
(file)
--- a/
sys/applemedia/vtenc.c
+++ b/
sys/applemedia/vtenc.c
@@
-38,6
+38,13
@@
GST_DEBUG_CATEGORY (gst_vtenc_debug);
#define GST_VTENC_CODEC_DETAILS_QDATA \
g_quark_from_static_string ("vtenc-codec-details")
+/* define EnableHardwareAcceleratedVideoEncoder in < 10.9 */
+#if defined(MAC_OS_X_VERSION_MAX_ALLOWED) && MAC_OS_X_VERSION_MAX_ALLOWED < 1090
+const CFStringRef
+ kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder =
+CFSTR ("EnableHardwareAcceleratedVideoEncoder");
+#endif
+
enum
{
PROP_0,