mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
7681566f29
Otherwise MFXVideoVPP_Init will fail because it is called twice without
a close.
Example pipeline:
gst-launch-1.0 videotestsrc ! msdkvpp ! glimagesink
Sometimes glimagesink emits GST_EVENT_RECONFIGURE event which results
in that MFXVideoVPP_Init is called twice, then get the negotiation
failure below:
0:00:00.093715518 21218 0x558ef56231e0 ERROR msdkvpp
gstmsdkvpp.c:995:gst_msdkvpp_initialize:<msdkvpp0> Init failed
(undefined behavior)
WARNING: from element /GstPipeline:pipeline0/GstMsdkVPP:msdkvpp0: not
negotiated
After applying this commit, the pipeline above may run without
negotiation failure, however NV12 layout in dmabuf mode is selected in
renegotiation, the display image is corrupted due to the NV12 issue which
was mentioned in commit
|
||
---|---|---|
.. | ||
androidmedia | ||
applemedia | ||
bluez | ||
d3dvideosink | ||
decklink | ||
directsound | ||
dshowdecwrapper | ||
dshowsrcwrapper | ||
dshowvideosink | ||
dvb | ||
fbdev | ||
ipcpipeline | ||
kms | ||
msdk | ||
nvdec | ||
nvenc | ||
opensles | ||
shm | ||
tinyalsa | ||
uvch264 | ||
vcd | ||
vdpau | ||
wasapi | ||
winks | ||
winscreencap | ||
Makefile.am | ||
meson.build |