QtMultimedia: Fix compiler warnings.

Change-Id: I5783b1f6dce645fb473e7d3da0911dbb40e3951b
Reviewed-by: Jonathan Liu <net147@gmail.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Friedemann Kleint
2012-10-17 10:11:25 +02:00
committed by The Qt Project
parent 40fe658dce
commit bce5525cbb
3 changed files with 3 additions and 3 deletions

View File

@@ -309,7 +309,7 @@ void QAudioDeviceInfoInternal::updateLists()
{
// redo all lists based on current settings
bool match = false;
DWORD fmt = NULL;
DWORD fmt = 0;
if(mode == QAudio::AudioOutput) {
WAVEOUTCAPS woc;

View File

@@ -188,7 +188,8 @@ void QMediaRecorderPrivate::_q_applySettings()
void QMediaRecorderPrivate::_q_availabilityChanged(QtMultimedia::AvailabilityStatus availability)
{
Q_Q(QMediaRecorder);
Q_UNUSED(error);
Q_UNUSED(error)
Q_UNUSED(availability)
// Really this should not always emit, but
// we can't really tell from here (isAvailable

View File

@@ -13,7 +13,6 @@ HEADERS += \
$$PWD/dsvideodevicecontrol.h \
$$PWD/dsimagecapturecontrol.h \
$$PWD/dscamerasession.h \
$$PWD/dscameraservice.h \
$$PWD/directshowglobal.h
SOURCES += \