Commit d49abfda authored by VaL Doroshchuk's avatar VaL Doroshchuk
Browse files

Gstreamer: Emit an error if QCamera::start() fails


If a camera is not started successfully error() signal has to be
emitted.

Added emitting an error from video source.
Emitted only first error to prevent multiple subsequent errors.
Added debug message.

Task-number: QTBUG-51825
Change-Id: I6ac936d2728213a4a64f3e4eb25ae2e2f109acca
Reviewed-by: default avatarChristian Stromme <christian.stromme@qt.io>
Showing with 11 additions and 3 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