diff options
author | Andy Shaw <andy.shaw@qt.io> | 2018-10-04 08:45:38 +0200 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2018-10-05 10:53:39 +0000 |
commit | fc33195f87d7b2b036f1df625a8fda12557e05e4 (patch) | |
tree | ddcc6259825bc723650a0d6f6ff57d426c4e6e30 /examples | |
parent | ab9f3f089c6f9537ae316697ee151ad63c6618fd (diff) | |
download | qtmultimedia-fc33195f87d7b2b036f1df625a8fda12557e05e4.tar.gz |
Use the setDataSource(String) overload for non assets/file paths
The setDataSource(Context, Uri) is used for passing a Uri that refers
to data in a content provider. Whereas the path passed here is going to
be http/rtsp instead. This fixes the warning that comes up about it not
being able to open the path provided.
Task-number: QTBUG-50539
Change-Id: I79882fb6d6a5683b6b95f8f9d4e2af86ea916831
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions