- 03 Sep, 2018 6 commits
-
-
Víctor Manuel Jáquez Leal authored
Replaced by gst_object_unref() in tests https://bugzilla.gnome.org/show_bug.cgi?id=796308
-
-
-
-
Matteo Valdina authored
This is done to resume decoding after a parse error or decode error. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=797006
-
Matteo Valdina authored
In gst_vaapidecode_handle_frame, when there is a decode error there is a code path the returns an uninitialized value. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=797006
-
- 31 Aug, 2018 2 commits
-
-
Víctor Manuel Jáquez Leal authored
When running several vaapi elements at the concurrently, at initialization, there is a race condition when extractin the avaible formats for images and subpictures. This patch add a lock when the those arrays are filled. https://bugzilla.gnome.org/show_bug.cgi?id=797039
-
Nirbheek Chauhan authored
gstreamer-vaapi does not build any libraries, only plugins, so this is not used, but sync it just in case someone does add it in the future.
-
- 29 Aug, 2018 2 commits
-
-
Víctor Manuel Jáquez Leal authored
-
wangfei authored
Low delay B frame provide the function of transforming P frame into low delay B frame which frame type is B, but only reference predictive frames. This can be used when P frame unsupported. Especially for P and B both unsupported, in this case, I and low delay B frame can be encoded in a stream. https://bugzilla.gnome.org/show_bug.cgi?id=796984
-
- 28 Aug, 2018 1 commit
-
-
Nicolas Dufresne authored
In some cases, the found_picture ended up being evicted and freed, which would lead to a use after free when accessing picture->base.poc. In this fix, we take a ref on the picture before calling dpb_evict. https://bugzilla.gnome.org/show_bug.cgi?id=787124
-
- 01 Aug, 2018 2 commits
-
-
Nicolas Dufresne authored
Similarly to previous patch, we have no error concealment. As a side effect, it's better to skip slices with missing references then passing NULL pointers to the accelerator. Passing NULL pointer would lead to major visual artifact, a behaviour that is likely undefined. https://bugzilla.gnome.org/show_bug.cgi?id=787124
-
Hyunjun Ko authored
Usually in case of MVC decoding, dpb size is increasedi if subset sps. That's why it resets context without this patch. But for some media it doesn't increase dpb size. Even in this case we should reset context to deal with MVC decoding. Otherwise, it leads to assert. https://bugzilla.gnome.org/show_bug.cgi?id=787124
-
- 25 Jul, 2018 4 commits
-
-
Nicolas Dufresne authored
If the unit could not be parsed, just skip this nal and keep parsing what is left in the adapter. We need to flush the broken unit in the decoder specific parser because the generic code does not know about units boundary. This increases error resilliance. Before this, the broken unit would stay in the adapter and EOS would be returned. Which stopped the streaming. Just removing the EOS would have lead to the adapter size growing indefinitely. https://bugzilla.gnome.org/show_bug.cgi?id=796863
-
Nicolas Dufresne authored
This is problematic on live pipeline where loosing network can cause an important amount of errors. https://bugzilla.gnome.org/show_bug.cgi?id=796832
-
Nicolas Dufresne authored
Same as what we did for H264 decoder, this is to avoid an assertion in the adapter. https://bugzilla.gnome.org/show_bug.cgi?id=796832
-
Víctor Manuel Jáquez Leal authored
h264 log messages were logged in default category because a regression in code. This patch renable the usage of vaapi logging category. This regression was introduced in commit 7c365bdd.
-
- 19 Jul, 2018 2 commits
-
-
Nicolas Dufresne authored
This patch chains up failure to executing the modification process. The end result is that we now fail decoding the slice if this process fails. This avoid sending a corrupted state to the accelerator. In some special cases, this could lead to unrecoverable errors. https://bugzilla.gnome.org/show_bug.cgi?id=796832
-
Nicolas Dufresne authored
gst_adapter_masked_scan_uint32_peek() asserts if size is 0. Don't try and scan in that case. This fixes assertion that would some times happen when the stream is corrupted. https://bugzilla.gnome.org/show_bug.cgi?id=796832
-
- 04 Jul, 2018 1 commit
-
-
Tianhao Liu authored
This change is due a problem encoding JPEGs with Intel's media-driver: green/black image when playback jpeg This patch sets component identifier and quantization table destination selector in frame header to support packing headers by Intel's media-driver that does not accept packed header in AP level. https://bugzilla.gnome.org/show_bug.cgi?id=796705
-
- 26 Jun, 2018 1 commit
-
-
Mathieu Duponchelle authored
On systems with an Nvidia card, this error is output each time the registry is rebuilt, which happens pretty often when using gst-build as a development environment. https://bugzilla.gnome.org/show_bug.cgi?id=796663
-
- 24 Jun, 2018 1 commit
-
-
Tim-Philipp Müller authored
-
- 18 Jun, 2018 1 commit
-
-
Nicolas Dufresne authored
The decoder was trying to detect earlier that a field was lost base on guessing the parity order. This breaks in streams were the parity order changes. This patch reverts the field order prediction code added by commit 8dd93e9c. https://bugzilla.gnome.org/show_bug.cgi?id=796169
-
- 14 Jun, 2018 6 commits
-
-
Nicolas Dufresne authored
This ensure that we always have sentinels set in the reference pictures arrays. The code wasn't unsafe, this simply improve the tracing, so instead of printing 32 lines of zeros, va tracer prints proper empty lists. https://bugzilla.gnome.org/show_bug.cgi?id=796169
-
Víctor Manuel Jáquez Leal authored
Replace it with gst_object_ref() https://bugzilla.gnome.org/show_bug.cgi?id=796470
-
Víctor Manuel Jáquez Leal authored
Use gst_object_unref() instead. https://bugzilla.gnome.org/show_bug.cgi?id=796470
-
Víctor Manuel Jáquez Leal authored
We have neglected to update this code since GstVaapiDisplay turned into a GstObject descendant. https://bugzilla.gnome.org/show_bug.cgi?id=796470
-
Hyunjun Ko authored
Gobjectification for GstVaapiDisplay was almost done by the commit 185da3d1. But still something breaking GObject code convention remains, which is calling gst_vaapi_display_new() in each decendants. This patch replaces it with gst_vaapi_display_config(), defined in private header. https://bugzilla.gnome.org/show_bug.cgi?id=796470
-
Víctor Manuel Jáquez Leal authored
The function name was gst_vaapi_display_create_unlocked(), nonetheless it wasn't called unlocked. In order to keep the semantics this patch renames the gst_vaapi_display_create_unlocked() as gst_vaapi_display_create(), removing the previous function gst_vaapi_display_create(). https://bugzilla.gnome.org/show_bug.cgi?id=796470
-
- 12 Jun, 2018 8 commits
-
-
Víctor Manuel Jáquez Leal authored
This reverts commit fc3eef9c.
-
Víctor Manuel Jáquez Leal authored
gstvaapipluginutil.c:171:1: error: old-style function definition [-Werror=old-style-definition]
-
Víctor Manuel Jáquez Leal authored
Make gstreamer-vaapi to use libva uninstalled.
-
Víctor Manuel Jáquez Leal authored
gst_vaapi_create_display_from_gl_context() was a spaghetti mess. This path refactors it, in order to make the code readable and easy to follow. https://bugzilla.gnome.org/show_bug.cgi?id=796564
-
Víctor Manuel Jáquez Leal authored
This is, practically, a revert of commit dcf135e2. The parent logic is useful for the EGL display, which is a decorator of the real windowing subsystem (X11 or Wayland). Thus it is avoided calling vaInitialize() and vaTerminate() twice. https://bugzilla.gnome.org/show_bug.cgi?id=795391
-
Víctor Manuel Jáquez Leal authored
Statically initialise the internal params structure. https://bugzilla.gnome.org/show_bug.cgi?id=795391
-
Víctor Manuel Jáquez Leal authored
If GstGL reports a EGL platform force to create a EGL display using the native EGL display. https://bugzilla.gnome.org/show_bug.cgi?id=795391
-
Hyunjun Ko authored
gst_vaapi_display_egl_new_with_native_display() has been broken since it wasn't used. Currently it's needed to call this API to create a display providing the EGL display, so it could avoid duplicated calls to the native display (eg. eglTerminate). Signed-off-by:
Victor Jaquez <vjaquez@igalia.com> https://bugzilla.gnome.org/show_bug.cgi?id=795391
-
- 08 Jun, 2018 1 commit
-
-
Tianhao Liu authored
This change is due a problem decoding JPEGs with Intel's media-driver: no image was generated. This patch relases the VA buffers after vaEndPicture() is called, and not before (after vaRenderPicture()). https://bugzilla.gnome.org/show_bug.cgi?id=796505
-
- 07 Jun, 2018 2 commits
-
-
Tim-Philipp Müller authored
HAVE_XRENDER are defined to 1 or 0, not defined or undefined.
-
Michael Olbrich authored
Otherwise a reference to a DMABuf input buffer is kept until the output buffer is deleted. https://bugzilla.gnome.org/show_bug.cgi?id=796399
-