1. 29 May, 2019 2 commits
  2. 11 May, 2019 3 commits
    • He Junyan's avatar
      plugins: Add more check for allowed raw caps. · 47ca2c0c
      He Junyan authored
      The gst_vaapi_plugin_base_get_allowed_raw_caps is used for both sink
      pad and src pad, which cause some bugs. For sink pad, we need to verify
      vaPutImage() while for the src pad we need to verify vaGetImage().
      For vaapidecoderXXX kind of plugins, the case is more complex. We need
      to verify whether the decoded result(in some surface, NV12 format most
      of the time) can be vaGetImage to some raw image format. Add more check
      to fix all these problems.
      Fixes: #123Signed-off-by: He Junyan's avatarHe Junyan's avatarHe Junyan <junyan.he@hotmail.com>
    • Jordan Petridіs's avatar
      Run gst-indent through the files · 69013240
      Jordan Petridіs authored
      This is required before we enabled an indent test in the CI.
    • Víctor Manuel Jáquez Leal's avatar
      vaapipostproc: don't do any color conversion when GL_TEXTURE_UPLOAD · 3bcf683a
      Víctor Manuel Jáquez Leal authored
      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
      This patch force default color format when GL_TEXTURE_UPLOAD is
      selected as preferred, thus avoiding the color conversion.
      Fixes: #157
  3. 10 May, 2019 1 commit
  4. 08 May, 2019 8 commits
    • Víctor Manuel Jáquez Leal's avatar
      libs: encoder: continue if roi meta is NULL · 66992c38
      Víctor Manuel Jáquez Leal authored
      Coverity scan bug:
      If the function actually returns a null value, a null pointer
      dereference will occur.
      In gst_vaapi_encoder_ensure_param_roi_regions(): Return value of
      function which returns null is dereferenced without checking
    • Víctor Manuel Jáquez Leal's avatar
      plugin: if any caps in downstream, negotiate raw video · 1fb31192
      Víctor Manuel Jáquez Leal authored
      When downstream has any caps, vaapi should not shovel vaapi featured
      buffers, but rather plain raw video, assuming always the worst case
      scenario (downstream cannot handle featured video memory but raw
      system memory buffers).
      This patch query the peer caps without any filter, to know if
      donwstream just ask for any caps, if so jump to the color space
      checking, otherwise do the caps intersection and continue with the
      feature selection algorithm.
      Fixes: #139
    • Adam Jackson's avatar
      glx: Stop specifying GLX_DEPTH_SIZE · 37a9e309
      Adam Jackson authored
      This code is just confused. It's asking for at least as many bits of
      (z-axis) depth as the root window has bits of (color) depth. For rgb565
      or rgb888 this is harmless, but at 10 bits per channel this demands a
      30-bit or deeper Z buffer. While some hardware could in principle do a
      32-bit Z buffer, Mesa does not expose such fbconfigs (at least on Intel
      and AMD).
      We're not actually using the Z buffer, so just stop asking for one.
    • wangfei's avatar
      vaapipostproc: before set surface proxy, check if it already been created and exist. · a2b153a2
      wangfei authored
      Fix the deinterlace black frame when playing with glimagesink:
      gst-launch-1.0 filesrc location=test.264 ! h264parse ! vaapih264dec \
      ! vaapipostproc deinterlace-mode=1 deinterlace-method=1 ! glimagesink
    • wangfei's avatar
    • Haihao Xiang's avatar
      Close dmabuf_fd · fb9d80cd
      Haihao Xiang authored
      Otherwise it will result in resource leak when failed to create
      dmabuf memory
    • Michael Olbrich's avatar
      vaapipostproc: add some missing locking · 10dd87ae
      Michael Olbrich authored
      gst_vaapi_plugin_base_close() removed the raw caps that are used indirectly
      in gst_vaapipostproc_transform_caps(). The usage is already protected by
      the mutex.
      This is needed when the pipeline is stopped during startup.
    • Michael Olbrich's avatar
      vaapiencode: don't start src pad task in set_format · ae831f7b
      Michael Olbrich authored
      Otherwise the task may be restarted during shutdown. Start the task in
      gst_vaapiencode_handle_frame() instead.
  5. 13 Feb, 2019 1 commit
  6. 02 Oct, 2018 2 commits
  7. 18 Sep, 2018 1 commit
  8. 16 Sep, 2018 2 commits
  9. 03 Sep, 2018 1 commit
  10. 31 Aug, 2018 1 commit
  11. 16 Aug, 2018 1 commit
  12. 20 Jul, 2018 3 commits
    • Tim-Philipp Müller's avatar
      meson: fix miscellaneous meson warnings · e8a9907a
      Tim-Philipp Müller authored
      WARNING: Passed invalid keyword argument "rqeuired".
      gst-libs/gst/base/meson.build:11: WARNING: Passed invalid keyword argument "version".
      gst-libs/gst/base/meson.build:11: WARNING: Passed invalid keyword argument "soversion".
      gst-libs/gst/vaapi/meson.build:223: WARNING: Passed invalid keyword argument "version".
      gst-libs/gst/vaapi/meson.build:223: WARNING: Passed invalid keyword argument "soversion".
    • Tim-Philipp Müller's avatar
      Release 1.14.2 · bc395f95
      Tim-Philipp Müller authored
    • Tim-Philipp Müller's avatar
      Update docs · d8f1d5c5
      Tim-Philipp Müller authored
  13. 13 Jun, 2018 1 commit
  14. 07 Jun, 2018 2 commits
  15. 06 Jun, 2018 6 commits
  16. 04 Jun, 2018 1 commit
  17. 21 May, 2018 1 commit
  18. 17 May, 2018 2 commits
  19. 27 Apr, 2018 1 commit