diff options
author | Alessandro Decina <alessandro.d@gmail.com> | 2014-11-12 09:59:53 +0100 |
---|---|---|
committer | Alessandro Decina <alessandro.d@gmail.com> | 2014-11-12 10:00:11 +0100 |
commit | a1cc1b34e191297612bef74f6075e8459b88b909 (patch) | |
tree | 69b08a275073d647bcd776cbd9ccfa71a62a28c0 /sys/applemedia/vtenc.c | |
parent | 5c48440c9a8e1dbba3f7c11f4ab4408973f64684 (diff) | |
download | gstreamer-plugins-bad-a1cc1b34e191297612bef74f6075e8459b88b909.tar.gz |
vtenc: fix compilation on < 10.9
Diffstat (limited to 'sys/applemedia/vtenc.c')
-rw-r--r-- | sys/applemedia/vtenc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/applemedia/vtenc.c b/sys/applemedia/vtenc.c index e02c1824a..5e48c8b1c 100644 --- 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, |