Commit 5f6f82ba authored by Val Doroshchuk's avatar Val Doroshchuk
Browse files

DirectShow: Fix crash when media in qrc is set twice


When qrc media content is set, it allocates and opens QFile.

If the same content is set again, the url remains the same,
but it creats new QFile, and need to update DirectShowIOReader by new
stream.

Change-Id: If3f5c187c4e2987e1a593b45f9a46c3c1b77ce45
Reviewed-by: default avatarVille Voutilainen <ville.voutilainen@qt.io>
Showing with 2 additions and 1 deletion
Supports Markdown
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