Commit 2b6759d3 authored by Committed by Gwenole Beauchesne
vaapidecode: return sink caps template if decoder is in NULL state.
Otherwise, the decoder would always create its own X display instead of probing it from the downstream element, which is not reliable. e.g. DISPLAY is not :0 or when running on Wayland. Signed-off-by: Gwenole Beauchesne <firstname.lastname@example.org>
Showing with 16 additions and 0 deletions