mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-16 05:11:49 -05:00
DATV demod: message formatting and boolean test correction
This commit is contained in:
parent
400c712ca8
commit
916a284b48
@ -341,14 +341,14 @@ bool DATVideoRender::RenderStream()
|
|||||||
int intGotFrame;
|
int intGotFrame;
|
||||||
bool blnNeedRenderingSetup;
|
bool blnNeedRenderingSetup;
|
||||||
|
|
||||||
if(m_blnIsOpen=false)
|
if (!m_blnIsOpen)
|
||||||
{
|
{
|
||||||
qDebug() << "DATVideoProcess::RenderStream Stream not open";
|
qDebug() << "DATVideoProcess::RenderStream: Stream not open";
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(m_blnRunning==true)
|
if (m_blnRunning)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -508,9 +508,9 @@ bool DATVideoRender::CloseStream(QIODevice *objDevice)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(m_blnIsOpen=false)
|
if (!m_blnIsOpen)
|
||||||
{
|
{
|
||||||
qDebug() << "DATVideoProcess::CloseStream Stream not open";
|
qDebug() << "DATVideoProcess::CloseStream: Stream not open";
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -160,12 +160,13 @@ class DATVideoRenderThread: public QThread
|
|||||||
|
|
||||||
if(m_objRenderer->OpenStream(m_objStream))
|
if(m_objRenderer->OpenStream(m_objStream))
|
||||||
{
|
{
|
||||||
printf("PID: %d W: %d H: %d Codec: %s Data: %s %s\r\n",m_objRenderer->MetaData.PID
|
qInfo("DATVideoRenderThread::run: PID: %d W: %d H: %d Codec: %s Data: %s Service: %s",
|
||||||
,m_objRenderer->MetaData.Width
|
m_objRenderer->MetaData.PID,
|
||||||
,m_objRenderer->MetaData.Height
|
m_objRenderer->MetaData.Width,
|
||||||
,m_objRenderer->MetaData.CodecDescription.toStdString().c_str()
|
m_objRenderer->MetaData.Height,
|
||||||
,m_objRenderer->MetaData.Program.toStdString().c_str()
|
m_objRenderer->MetaData.CodecDescription.toStdString().c_str(),
|
||||||
,m_objRenderer->MetaData.Stream.toStdString().c_str());
|
m_objRenderer->MetaData.Program.toStdString().c_str(),
|
||||||
|
m_objRenderer->MetaData.Stream.toStdString().c_str());
|
||||||
|
|
||||||
m_blnRenderingVideo=true;
|
m_blnRenderingVideo=true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user