vaapi: nest encoders under USE_ENCODER macro

Though USE_{JPEG,VP8,VP9,H265}_ENCODER macros definition depend on USE_ENCODER
macro, it is clearer to nest them, showing explicitly the dependency relation.
This commit is contained in:
Víctor Manuel Jáquez Leal 2016-06-28 11:54:33 +02:00
parent 80c4396830
commit 1c05c53b02

View file

@ -67,7 +67,6 @@ plugin_init (GstPlugin * plugin)
GST_RANK_PRIMARY, GST_TYPE_VAAPIENCODE_H264);
gst_element_register (plugin, "vaapimpeg2enc",
GST_RANK_PRIMARY, GST_TYPE_VAAPIENCODE_MPEG2);
#endif
#if USE_JPEG_ENCODER
gst_element_register (plugin, "vaapijpegenc",
GST_RANK_PRIMARY, GST_TYPE_VAAPIENCODE_JPEG);
@ -83,6 +82,7 @@ plugin_init (GstPlugin * plugin)
#if USE_VP9_ENCODER
gst_element_register (plugin, "vaapivp9enc",
GST_RANK_PRIMARY, GST_TYPE_VAAPIENCODE_VP9);
#endif
#endif
gst_element_register (plugin, "vaapidecodebin",