Commit 343e281f authored by Andy Shaw's avatar Andy Shaw
Browse files

DirectShow: Copy the frame data when we get it before emitting


Since the slot connected to the frameAvailable signal may be in another
thread there is a bigger risk of it being invalid by the time the slot
is invoked. Therefore we copy the data and emit with the copy to ensure
that we don't lose the data.

Task-number: QTBUG-61817
Change-Id: I2888661d8a7f97105a85f87b08cc9ec25f8ce8c7
Reviewed-by: default avatarChristian Stromme <christian.stromme@qt.io>
parent 116cd7bd
Showing with 13 additions and 16 deletions
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