Skip to content
  • He Junyan's avatar
    plugins: Add more check for allowed raw caps. · 47ca2c0c
    He Junyan authored and Víctor Manuel Jáquez Leal's avatar Víctor Manuel Jáquez Leal committed
    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: #123
    
    
    
    Signed-off-by: default avatarHe Junyan's avatarHe Junyan <junyan.he@hotmail.com>
    47ca2c0c