• Haihao Xiang's avatar
    msdk: needn't call MFXJoinSession after MFXCloneSession · d7ad665d
    Haihao Xiang authored
    According to the MSDK documation[1], MFXCloneSession is a light-weight
    equivalent of MFXJoinSession after MFXInit, so MFXJoinSession call isn't
    needed in the msdk plugin, otherwise the cloned session is joined to the
    parent session twice, and we will get a MFX error when closing the
    parent session
    
    example pipeline:
    
    gst-launch-1.0 videotestsrc num-buffers=100 ! \
    video/x-raw,format=NV12,width=352,height=288 ! msdkh264enc ! msdkh264dec ! \
    msdkh264enc ! fakesink
    
    Error message:
    
    0:00:00.211948518 21733 0x5586ee741c60 ERROR                   msdk
    msdk.c:148:msdk_close_session: Close failed (undefined behavior)
    
    [1]: https://software.intel.com/en-us/node/628429#MFXCloneSession
    d7ad665d
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...