• Haihao Xiang's avatar
    msdk: don't share context between msdkvpp and msdkenc · 98e49673
    Haihao Xiang authored
    msdkenc supports CSC implicitly, so it is possible that two VPP
    processes are required when a pipeline contains msdkvpp and msdkenc.
    Before this fix, msdkvpp and msdkenc may share the same context, hence
    the same mfx session, which results in MFX_ERR_UNDEFINED_BEHAVIOR
    in MSDK because a mfx session has at most one VPP process only
    
    This fixes the broken pipelines below:
    
    gst-launch-1.0 videotestsrc ! video/x-raw,format=I420 ! msdkh264enc ! \
    msdkh264dec ! msdkvpp ! video/x-raw,format=YUY2 ! fakesink
    
    gst-launch-1.0 videotestsrc ! msdkvpp ! video/x-raw,format=YUY2 ! \
    msdkh264enc ! fakesink
    98e49673
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...