diff options
author | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2019-11-05 13:39:55 +0100 |
---|---|---|
committer | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2019-11-05 13:03:51 +0000 |
commit | 4d251f072c6f97b4cf4618103e4e857e499c5ed7 (patch) | |
tree | be1d14ee95e12f4c015edb5027a9c08c92b52c07 /src/plugins/plugins.pro | |
parent | f422fbde120f791b29d01cf76079599c68ffa868 (diff) | |
download | qtmultimedia-4d251f072c6f97b4cf4618103e4e857e499c5ed7.tar.gz |
GStreamer: Fix crash when video sink is used when it has been destroyed
When custom pipeline is requested, all playbin related elements must be cleared.
Also when QMediaPlayer is destroying, it disables showing preroll frames,
property of the video sink, which was already destroyed.
Destroying of m_videoOutputBin decreases refcounter for m_videoSink,
since the video sink is owned by m_videoOutputBin.
Fixes: QTBUG-79753
Change-Id: I2fcbd19372caf46adf2ae1ed2e5a7d0ee70040ad
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/plugins/plugins.pro')
0 files changed, 0 insertions, 0 deletions