gstreamer/gst/vaapi
Víctor Manuel Jáquez Leal 838045b9e2 vaapipostproc: don't do any color conversion when GL_TEXTURE_UPLOAD
https://bugzilla.gnome.org/show_bug.cgi?id=748184 has resurrected
with commit 3e992d8a

Since gst_vaapi_find_preferred_caps_feature() returns a color format
from caps negotiation, different from the default one (NV12), the
postproc enables the color transformation. But when GL_TEXTURE_UPLOAD
feature is negotiated, no color transformation shall be done.

Nonetheless, with commit 3e992d8a the requested format changes
firstly, because there's no video sink yet, so ANY caps are
negotiated; but later, when there's a video sink and a caps
renegotiation, the GL_TEXTURE_UPLOAD is negotiated though the color
format conversion still ongoing. It is required to reset that
conversion.

This patch force default color format when GL_TEXTURE_UPLOAD is
selected as preferred, thus avoiding the color conversion.

Fixes: #157
2019-05-02 16:47:28 +02:00
..
gstcompat.h Remove old gst version guards 2016-01-25 12:09:40 +00:00
gstvaapi.c vaapi: bump the minimum vaapi version requirement to 0.39.0 2019-01-07 17:46:42 +00:00
gstvaapi.h vaapidecodebin: Register element if no VPP support is available too 2017-10-20 12:59:10 +02:00
gstvaapidecode.c vaapi: bump the minimum vaapi version requirement to 0.39.0 2019-01-07 17:46:42 +00:00
gstvaapidecode.h vaapidecode: update internal decoder sink caps 2017-01-18 11:30:49 +01:00
gstvaapidecode_props.c vaapidecode: set h264 base-only to decoder 2017-08-03 17:07:14 +02:00
gstvaapidecode_props.h vaapidecode_props: h264: add base-only property 2017-08-03 17:07:01 +02:00
gstvaapidecodebin.c vaapi: bump the minimum vaapi version requirement to 0.39.0 2019-01-07 17:46:42 +00:00
gstvaapidecodebin.h vaapidecodebin: skips configuration once it's done 2017-04-21 11:48:16 +02:00
gstvaapidecodedoc.c docs: replace vaapidecode with each codec 2016-10-27 13:04:37 +02:00
gstvaapiencode.c vaapiencode: gobject's prop_id differ from vaapi encoder 2019-03-25 19:15:38 +01:00
gstvaapiencode.h FEI: plugin: Add virtual methods to base encode 2017-09-01 11:36:49 +02:00
gstvaapiencode_h264.c libs: enc: h264: set max profile idc with correct profile. 2018-12-15 14:48:03 +08:00
gstvaapiencode_h264.h vaapiencode: h264: verify if requested profile is supported 2017-07-03 15:33:20 +02:00
gstvaapiencode_h264_fei.c gst: Advertise elements interacting with hardware devices 2018-10-12 15:39:53 +01:00
gstvaapiencode_h264_fei.h FEI: plugin: Add vaapih264feienc element 2017-09-01 13:15:05 +02:00
gstvaapiencode_h265.c gst: Advertise elements interacting with hardware devices 2018-10-12 15:39:53 +01:00
gstvaapiencode_h265.h HEVC_Encode: Add HEVC(h265) Encoder plugin 2015-05-25 11:58:20 +03:00
gstvaapiencode_jpeg.c gst: Advertise elements interacting with hardware devices 2018-10-12 15:39:53 +01:00
gstvaapiencode_jpeg.h plugins: Add JPEG encoder element 2015-02-04 11:18:29 +02:00
gstvaapiencode_mpeg2.c gst: Advertise elements interacting with hardware devices 2018-10-12 15:39:53 +01:00
gstvaapiencode_mpeg2.h legal: update copyright notice dates. 2014-01-22 19:02:35 +01:00
gstvaapiencode_vp8.c gst: Advertise elements interacting with hardware devices 2018-10-12 15:39:53 +01:00
gstvaapiencode_vp8.h plugins: Add VP8 Encoder 2015-02-13 13:45:32 +02:00
gstvaapiencode_vp9.c gst: Advertise elements interacting with hardware devices 2018-10-12 15:39:53 +01:00
gstvaapiencode_vp9.h Add vp9 encode element to "vaapi" plugin 2016-05-30 11:24:14 +03:00
gstvaapifeivideometa.c FEI: plugin: Add fei specific video meta 2017-09-01 11:36:49 +02:00
gstvaapifeivideometa.h FEI: plugin: Add fei specific video meta 2017-09-01 11:36:49 +02:00
gstvaapipluginbase.c vaapi: bump the minimum vaapi version requirement to 0.39.0 2019-01-07 17:46:42 +00:00
gstvaapipluginbase.h plugins: Add more check for allowed raw caps. 2018-12-24 10:46:23 +00:00
gstvaapipluginutil.c plugins: find the preferred format from right caps. 2019-04-11 08:40:38 +00:00
gstvaapipluginutil.h libs: dec: h265: support decode for main-444 10bit streams. 2018-12-04 13:25:59 +08:00
gstvaapipostproc.c vaapipostproc: before set surface proxy, check if it already been created and exist. 2019-01-15 14:48:19 +08:00
gstvaapipostproc.h vaapipostproc: make it enable/disable pass-through mode 2016-07-22 12:08:20 +02:00
gstvaapipostprocutil.c vaapipostproc: don't do any color conversion when GL_TEXTURE_UPLOAD 2019-05-02 16:47:28 +02:00
gstvaapipostprocutil.h vaapipostproc: move gst_vaapipostproc_fixate_srccaps() 2016-05-09 16:56:10 +02:00
gstvaapisink.c libs: wayland: add support for XDG-shell protocol 2019-02-16 23:55:42 +01:00
gstvaapisink.h vaapisink: add support for GST_TAG_IMAGE_ORIENTATION 2016-07-05 20:17:12 +02:00
gstvaapivideobuffer.c remove the video converter from vaapi buffer meta 2016-11-24 18:32:34 +01:00
gstvaapivideobuffer.h plugins: re-indent all GstVaapiVideo* related source code. 2014-08-22 15:54:32 +02:00
gstvaapivideobufferpool.c Update for g_type_class_add_private() deprecation in recent GLib 2018-06-24 13:07:20 +02:00
gstvaapivideobufferpool.h vaapibufferpool: add gst_vaapi_video_buffer_pool_copy_buffer() 2018-02-20 10:57:12 -06:00
gstvaapivideocontext.c plugin: remove custom GstGL context handling 2018-04-26 19:37:54 +02:00
gstvaapivideocontext.h plugin: remove custom GstGL context handling 2018-04-26 19:37:54 +02:00
gstvaapivideomemory.c vaapivideomemory: Prefer same format for surface and image 2019-02-21 13:41:46 +01:00
gstvaapivideomemory.h vaapivideomemory: remove unused macro 2018-02-07 09:22:29 +01:00
gstvaapivideometa.c libs: display: remove gst_vaapi_display_ref() 2018-06-14 16:41:00 +02:00
gstvaapivideometa.h remove the video converter from vaapi buffer meta 2016-11-24 18:32:34 +01:00
gstvaapivideometa_texture.c libs: object: separation of internal API and plugins 2018-09-25 17:41:55 +02:00
gstvaapivideometa_texture.h plugins: re-indent all GstVaapiVideo* related source code. 2014-08-22 15:54:32 +02:00
Makefile.am vaapi: bump the minimum vaapi version requirement to 0.39.0 2019-01-07 17:46:42 +00:00
meson.build meson: build h264 fei encoder if possible 2019-01-07 17:46:42 +00:00