mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-27 03:23:16 +00:00
vtenc: fix compilation on < 10.9
This commit is contained in:
parent
5c48440c9a
commit
a1cc1b34e1
1 changed files with 7 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue