summaryrefslogtreecommitdiffstats
path: root/libhb/qsv_common.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-09-24 13:00:25 +0000
committerRodeo <[email protected]>2013-09-24 13:00:25 +0000
commita79d60b425e588a5e2e4aff35815b8396c909895 (patch)
tree92e556b01b0181d9434cd330cb65008518f684ca /libhb/qsv_common.c
parentd4a19d9cf6d05f0b6434384ba8d2bd4eed5cc6a3 (diff)
QSV: use ifdefs rather than filtering to bypass libmfx references during compilation without --enable-qsv.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5805 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/qsv_common.c')
-rw-r--r--libhb/qsv_common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/qsv_common.c b/libhb/qsv_common.c
index 1b989c572..cbd427f5d 100644
--- a/libhb/qsv_common.c
+++ b/libhb/qsv_common.c
@@ -7,6 +7,8 @@
* For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
*/
+#ifdef USE_QSV
+
#include "hb.h"
#include "ports.h"
#include "common.h"
@@ -846,3 +848,5 @@ const char* hb_qsv_impl_get_name(int impl)
return NULL;
}
}
+
+#endif // USE_QSV