From: Friedemann Kleint Date: Wed, 17 Oct 2012 08:11:25 +0000 (+0200) Subject: QtMultimedia: Fix compiler warnings. X-Git-Tag: upstream/5.2.95+rc1~166 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bce5525cbbbf6f167fe05831f55218c001d042fc;p=platform%2Fupstream%2Fqtmultimedia.git QtMultimedia: Fix compiler warnings. Change-Id: I5783b1f6dce645fb473e7d3da0911dbb40e3951b Reviewed-by: Jonathan Liu Reviewed-by: Kai Koehne --- diff --git a/src/multimedia/audio/qaudiodeviceinfo_win32_p.cpp b/src/multimedia/audio/qaudiodeviceinfo_win32_p.cpp index bfbd042..3c66d05 100644 --- a/src/multimedia/audio/qaudiodeviceinfo_win32_p.cpp +++ b/src/multimedia/audio/qaudiodeviceinfo_win32_p.cpp @@ -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; diff --git a/src/multimedia/recording/qmediarecorder.cpp b/src/multimedia/recording/qmediarecorder.cpp index fba8387..e6bbcdd 100644 --- a/src/multimedia/recording/qmediarecorder.cpp +++ b/src/multimedia/recording/qmediarecorder.cpp @@ -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 diff --git a/src/plugins/directshow/camera/camera.pri b/src/plugins/directshow/camera/camera.pri index 83b6819..b576a85 100644 --- a/src/plugins/directshow/camera/camera.pri +++ b/src/plugins/directshow/camera/camera.pri @@ -13,7 +13,6 @@ HEADERS += \ $$PWD/dsvideodevicecontrol.h \ $$PWD/dsimagecapturecontrol.h \ $$PWD/dscamerasession.h \ - $$PWD/dscameraservice.h \ $$PWD/directshowglobal.h SOURCES += \