Use config.h to vaapiencode
authorWind Yuan <feng.yuan@intel.com>
Wed, 7 Dec 2011 04:58:10 +0000 (12:58 +0800)
committerZhong Cong <congx.zhong@intel.com>
Tue, 5 Feb 2013 07:37:10 +0000 (15:37 +0800)
gst/vaapiencode/gstvaapiencode.c

index b1c27a2..850282b 100644 (file)
@@ -1,3 +1,4 @@
+#include "config.h"
 #include "gstvaapiencode.h"
 
 #include <string.h>
@@ -484,9 +485,6 @@ vaapi_encode_sets_init (GstPlugin * plugin)
   return ret;
 }
 
-#define PACKAGE "libvaapiencode"
-#define VERSION "0.1.0"
-
 /* gstreamer looks for this structure to register mrstcamsrc */
 GST_PLUGIN_DEFINE (
     GST_VERSION_MAJOR,