mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
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:
parent
80c4396830
commit
1c05c53b02
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue