diff options
author | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2018-11-22 12:22:45 +0100 |
---|---|---|
committer | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2018-11-28 12:41:49 +0000 |
commit | 3afff3c5c698c16516bf8ce611006813671bdd0e (patch) | |
tree | 6719bf77f6e120eaab65fefc45aa53df18ffb152 /src/qtmultimediaquicktools | |
parent | b0e1f01ce01e73e82f16d30202e56395223e138c (diff) |
DirectShow: Move parsing of the metadata to worker thread
Since parsing of the metadata from file might take some time, and no need to block gui thread
because of it, moved the parsing to worker thread.
Also there is no need to use a synchronization in
DirectShowMetaDataControl because reading/writing of the metadata is
handled only from main thread.
In case if new media is set (from main thread) during parsing the
metadata (worker thread), it will still block the main thread before
previous parsing is finished.
Task-number: QTBUG-66526
Change-Id: Iffb23c6436639039365596725ddb54d2510d9c83
Reviewed-by: Michael Brasser <michael.brasser@live.com>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/qtmultimediaquicktools')
0 files changed, 0 insertions, 0 deletions