DirectShow: Avoid warning about unresolved error when file is missing.
AddSourceFilter() can return E_FAIL. Change-Id: Idbd8ec5a4a3c9b9d8fef9ff690cc0169f4027666 Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
This commit is contained in:
committed by
Jędrzej Nowacki
parent
dfa57af6de
commit
b611490074
@@ -327,6 +327,7 @@ void DirectShowPlayerService::doSetUrlSource(QMutexLocker *locker)
|
||||
m_error = QMediaPlayer::FormatError;
|
||||
m_errorString = QString();
|
||||
break;
|
||||
case E_FAIL:
|
||||
case E_OUTOFMEMORY:
|
||||
case VFW_E_CANNOT_LOAD_SOURCE_FILTER:
|
||||
case VFW_E_NOT_FOUND:
|
||||
|
||||
Reference in New Issue
Block a user