Commit fc33195f authored by Andy Shaw's avatar Andy Shaw
Browse files

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: default avatarVaL Doroshchuk <valentyn.doroshchuk@qt.io>
parent ab9f3f08
Showing with 1 addition and 1 deletion
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment