mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
Revert "vah264enc: Disable derived image support"
This reverts commit 0011feb0d6
.
The commit caused performance-wise regression for some platforms
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2111>
This commit is contained in:
parent
4e97cc24a7
commit
b74da32b5c
1 changed files with 2 additions and 2 deletions
|
@ -3165,7 +3165,7 @@ _get_sinkpad_pool (GstVaH264Enc * self)
|
||||||
allocator = gst_va_allocator_new (self->display, surface_formats);
|
allocator = gst_va_allocator_new (self->display, surface_formats);
|
||||||
|
|
||||||
self->raw_pool = gst_va_pool_new_with_config (caps, size, 1, 0,
|
self->raw_pool = gst_va_pool_new_with_config (caps, size, 1, 0,
|
||||||
usage_hint, GST_VA_FEATURE_DISABLED, allocator, ¶ms);
|
usage_hint, GST_VA_FEATURE_AUTO, allocator, ¶ms);
|
||||||
if (!self->raw_pool) {
|
if (!self->raw_pool) {
|
||||||
gst_object_unref (allocator);
|
gst_object_unref (allocator);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -3710,7 +3710,7 @@ gst_va_h264_enc_propose_allocation (GstVideoEncoder * venc, GstQuery * query)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
pool = gst_va_pool_new_with_config (caps, size, 1, 0, usage_hint,
|
pool = gst_va_pool_new_with_config (caps, size, 1, 0, usage_hint,
|
||||||
GST_VA_FEATURE_DISABLED, allocator, ¶ms);
|
GST_VA_FEATURE_AUTO, allocator, ¶ms);
|
||||||
if (!pool) {
|
if (!pool) {
|
||||||
gst_object_unref (allocator);
|
gst_object_unref (allocator);
|
||||||
goto config_failed;
|
goto config_failed;
|
||||||
|
|
Loading…
Reference in a new issue