Fix WMF Video not playing if no soundcard is available
authorMarius Wachtler <marius.wachtler@ith-icoserve.com>
Mon, 25 Nov 2013 14:22:56 +0000 (15:22 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 26 Nov 2013 12:54:52 +0000 (13:54 +0100)
commit160656d68855bc09a44c19d1b0656668c0fa4046
treeff1cc6a9bfaf65f8f7bf067d2d29711d8b5aac5a
parent6799e9eab0619598ece481243277b4b9f1d42db4
Fix WMF Video not playing if no soundcard is available

Do not add the AudioEndpoint to the topology if no Audio output device
is available. Fixes video not playing if you deactivate your soundcard
or have no headphones/speakers plugged in.

Change-Id: I9fc2486198a299b3e75af648f69475270968c6f7
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
src/plugins/wmf/player/mfaudioendpointcontrol.cpp