diff options
author | Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com> | 2011-07-20 10:45:06 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-07-25 09:35:44 +0200 |
commit | e45902822c8161c84d2148244f0ff72fff0ba515 (patch) | |
tree | 01589dd5c178748b8403e47977f0e772cf0d6542 /src/plugins/wmf/player/sourceresolver.h | |
parent | e47fa8b5a56e493c8fec065d41ac2266a5acfb93 (diff) |
Gst backend: Fixed deadlock when pipeline is stopped during prerolling.
Waiting for start() to be invoked in the main thread may block
if gstreamer blocks the main thread until this call is finished.
This situation is rare and usually caused by setState(Null)
while pipeline is being prerolled.
The proper solution to this involves controlling gstreamer pipeline
from other thread than video surface.
Currently start() fails if wait() timed out.
Task-number: QTMOBILITY-1663
Reviewed-by: Michael Goddard
Change-Id: Ib95e589a814e53efb9b4c454ef9f233658ff8c6a
(cherry picked from commit ac9762e2dbc06d696c6c74825ee22ac1fc176d9c)
Reviewed-on: http://codereview.qt.nokia.com/2073
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Diffstat (limited to 'src/plugins/wmf/player/sourceresolver.h')
0 files changed, 0 insertions, 0 deletions