• Haihao Xiang's avatar
    msdkenc: allow encode element requires extra frames · 12218984
    Haihao Xiang authored
    The call of MFXVideoENCODE_EncodeFrameAsync may not generate output and
    the function returns MFX_ERR_MORE_DATA with NULL sync point, the input
    frame is cached in this case, so it is possible that all allocated
    frames go into the surfaces_used list after calling
    MFXVideoENCODE_EncodeFrameAsync a few times, then the encoder will fail
    to get an available surface before releasing used frames
    
    This patch adds a new field of num_extra_frames to GstMsdkEnc and allows
    encode element requires extra frames, the default value is 0.
    
    This patch is the preparation for msdkvp9enc element.
    12218984
Name
Last commit
Last update
common @ 59cb6781 Loading commit data...
docs Loading commit data...
ext Loading commit data...
gst Loading commit data...
gst-libs Loading commit data...
hooks Loading commit data...
m4 Loading commit data...
pkgconfig Loading commit data...
po Loading commit data...
sys Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
ChangeLog Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.static-linking Loading commit data...
RELEASE Loading commit data...
REQUIREMENTS Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gst-plugins-bad.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...