Commit 41a08806 authored by Andrew de Quincey's avatar Andrew de Quincey

Just a quick comment change to remove the last of my confusion with private

streams
parent d7cb8786
......@@ -2,7 +2,7 @@
* ps2ts.cpp: MPEG1 and MPEG2 PS to MPEG2 TS converter
*-------------------------------------------------------------------------------
* (c)1999-2001 VideoLAN
* $Id: ps2ts.cpp,v 1.13 2003/08/20 21:26:56 adq Exp $
* $Id: ps2ts.cpp,v 1.14 2003/08/23 21:37:59 adq Exp $
*
* Authors: Benoit Steiner <benny@via.ecp.fr>
* Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
......@@ -233,7 +233,7 @@ template <class Reader, class TsProvider>
} else {
// we've finished sending PSI for this time
m_bSendPSI = false;
}
}
}
// not sending PSI => grab some REAL data packets
......@@ -266,7 +266,7 @@ template <class Reader, class TsProvider>
m_bSendPSI = true;
m_bGenPat = true;
m_bGenPmt = true;
m_iLoop--;
m_iLoop--;
}
break;
}
......@@ -274,13 +274,13 @@ template <class Reader, class TsProvider>
// OK, was there really a problem?
if (iRc) {
m_iStatus = iRc;
break;
break;
}
}
// if we're preparsing, exit as soon as we have one packet
if (bPreparsing && m_cPendingTS.Size()) {
break;
break;
}
}
}
......@@ -484,7 +484,7 @@ template <class Reader, class TsProvider>
m_iPrivateId = esHeader[0];
}
// get the descriptor taking into account the MPEG1 stream id
// get the descriptor taking into account the private stream id
curDesc = m_cPgrmDescriptor.GetDescriptor(m_iDataType & 0xFF, m_iPrivateId);
}
......@@ -611,7 +611,7 @@ template <class Reader, class TsProvider>
if (!m_iDataLen) {
m_bInMiddleOfPES = false;
}
// OK, return the status. This will be either NO_ERR or END_OF_STREAM
return iRc;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment