mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
va: Register and enable and the vah265enc plugin.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2036>
This commit is contained in:
parent
3d99f24843
commit
4e7eddeafe
1 changed files with 8 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
||||||
#include "gstvah264dec.h"
|
#include "gstvah264dec.h"
|
||||||
#include "gstvah264enc.h"
|
#include "gstvah264enc.h"
|
||||||
#include "gstvah265dec.h"
|
#include "gstvah265dec.h"
|
||||||
|
#include "gstvah265enc.h"
|
||||||
#include "gstvajpegdec.h"
|
#include "gstvajpegdec.h"
|
||||||
#include "gstvampeg2dec.h"
|
#include "gstvampeg2dec.h"
|
||||||
#include "gstvaprofile.h"
|
#include "gstvaprofile.h"
|
||||||
|
@ -195,6 +196,13 @@ plugin_register_encoders (GstPlugin * plugin, GstVaDevice * device,
|
||||||
device->render_device_path);
|
device->render_device_path);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case HEVC:
|
||||||
|
if (!gst_va_h265_enc_register (plugin, device, sinkcaps, srccaps,
|
||||||
|
GST_RANK_NONE, entrypoint)) {
|
||||||
|
GST_WARNING ("Failed to register H265 encoder: %s",
|
||||||
|
device->render_device_path);
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
GST_DEBUG ("No encoder implementation for %" GST_FOURCC_FORMAT,
|
GST_DEBUG ("No encoder implementation for %" GST_FOURCC_FORMAT,
|
||||||
GST_FOURCC_ARGS (codec));
|
GST_FOURCC_ARGS (codec));
|
||||||
|
|
Loading…
Reference in a new issue