• Gwenole Beauchesne's avatar
    vaapidecode: don't reset decoder if codec type is the same. · 5549dbc3
    Gwenole Beauchesne authored
    Reset, i.e. destroy then create, the decoder in _setcaps() handler only
    if the underlying codec type actually changed. This makes it possible
    to be more tolerant with certain MPEG-2 streams that get parsed to
    form caps that are compatible with the previous state but minor changes
    to "codec-data".
gstvaapidecoder.h 4.63 KB