DirectShow: remove debug output.
Task-number: QTBUG-38924 Change-Id: Ibc08fd99f6eb10035e4d7da963d4d384012bbdbf Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
This commit is contained in:
committed by
The Qt Project
parent
e9e10b2b1f
commit
93e73fd8ee
@@ -622,17 +622,10 @@ DirectShowRcSource::DirectShowRcSource(DirectShowEventLoop *loop)
|
|||||||
bool DirectShowRcSource::open(const QUrl &url)
|
bool DirectShowRcSource::open(const QUrl &url)
|
||||||
{
|
{
|
||||||
m_file.moveToThread(QCoreApplication::instance()->thread());
|
m_file.moveToThread(QCoreApplication::instance()->thread());
|
||||||
|
|
||||||
m_file.setFileName(QLatin1Char(':') + url.path());
|
m_file.setFileName(QLatin1Char(':') + url.path());
|
||||||
|
|
||||||
qDebug("qrc file %s", qPrintable(m_file.fileName()));
|
|
||||||
|
|
||||||
if (m_file.open(QIODevice::ReadOnly)) {
|
if (m_file.open(QIODevice::ReadOnly)) {
|
||||||
qDebug("Size %d", int(m_file.size()));
|
|
||||||
qDebug("Sequential %d", int(m_file.isSequential()));
|
|
||||||
|
|
||||||
setDevice(&m_file);
|
setDevice(&m_file);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user