diff options
author | sr55 <[email protected]> | 2018-06-08 23:03:56 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2018-06-08 23:03:56 +0100 |
commit | f4bd868418555189faac85e0af3f3ad64058836a (patch) | |
tree | 975be3cb0553b8a895b8fad6050f25d34b1ff9ec /libhb/vce_common.c | |
parent | 41cd137d25fbb2f80d6a9951057459580cdedc37 (diff) |
VCE: Stub out VCE available methods for the UI. This will need to check for hardware and potentially driver. TBD
Diffstat (limited to 'libhb/vce_common.c')
-rw-r--r-- | libhb/vce_common.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/libhb/vce_common.c b/libhb/vce_common.c new file mode 100644 index 000000000..98b76d8c5 --- /dev/null +++ b/libhb/vce_common.c @@ -0,0 +1,34 @@ +/* vce_common.c + * + * Copyright (c) 2003-2018 HandBrake Team + * This file is part of the HandBrake source code. + * Homepage: <http://handbrake.fr/>. + * It may be used under the terms of the GNU General Public License v2. + * For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html + */ + +#ifdef USE_VCE + +int hb_vce_h264_available() +{ + return 1; +} + +int hb_vce_h265_available() +{ + return 1; +} + +#else + +int hb_vce_h264_available() +{ + return 0; +} + +int hb_vce_h265_available() +{ + return 0; +} + +#endif // USE_QSV |