diff options
author | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2018-07-26 15:08:28 +0200 |
---|---|---|
committer | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2019-11-12 13:04:59 +0100 |
commit | f9a576826c0d770aaae8aadbedaf83e1c0b72e0a (patch) | |
tree | aa0069bf51310e0e88e8475338db6449100254b3 /src/plugins/android/src/mediaplayer | |
parent | 3d33ebd547d5cdc16e6f8700282035ac3b96e604 (diff) | |
download | qtmultimedia-5.13.tar.gz |
Android: Fix fetching video frame data from the GUI thread5.13
If QAbstractVideoSurface is not used on rendering thread
added a way to pass shared opengl context via GLContext surface property.
Camera and media players that are created in Qt Quick will usually have
their rendering done on the render thread, but the callback for custom video
surface(s) (or probes) will usually be handle on the GUI thread, so to
make it convenient to for the user to access the frame data, which is rendered
on request, we now set-up context sharing and render to a fbo on the calling
thread, if needed.
Task-number: QTBUG-69333
Change-Id: I4cc5c1f741c82376f1402a047b946b59281c9a4c
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'src/plugins/android/src/mediaplayer')
0 files changed, 0 insertions, 0 deletions