[Bug 769266] New: vaapi encoder should not accept all caps

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 28 12:49:49 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=769266

            Bug ID: 769266
           Summary: vaapi encoder should not accept all caps
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer-vaapi
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: thaytan at noraisin.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
                CC: bsreerenj at gmail.com, vjaquez at igalia.com
     GNOME version: ---

The VAAPI encoder should not announce caps that it can't support and then throw
a runtime error:

0:00:22.650358794 32413      0x40e80f0 ERROR                  vaapi
gstvaapiencoder.c:585:is_chroma_type_supported: We only support YUV 4:2:0 and
YUV 4:2:2 for encoding. Please try to use vaapipostproc to convert the input
format.
0:00:22.650384591 32413      0x40e80f0 ERROR                  vaapi
gstvaapiencoder.c:625:set_context_info: failed to determine chroma type for
format YUY2
0:00:22.650393900 32413      0x40e80f0 ERROR                  vaapi
gstvaapiencoder.c:693:gst_vaapi_encoder_reconfigure_internal: failed to update
VA context

Instead, the sink pad caps query should filter out unsupported formats so that
upstream can choose a sensible format to feed the encoder.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list