private int _pid; // we dont need this i think.. public PESDecoder(PESCallback cb) { ServiceRegistration.Get <ILogger>().Debug("PESDecoder ctor"); _cb = cb; _pid = -1; _pesBuffer = new byte[MAX_PES_PACKET]; _iWritePos = 0; _iStreamId = -1; _iPesHeaderLen = 0; _iPesLength = 0; _hasPayloadStart = false; }
private bool hasPayloadStart; // do we have a packet in progress public PESDecoder(PESCallback cb) { Log.Debug("PESDecoder ctor"); this.cb = cb; m_pid = -1; m_pesBuffer = new byte[MAX_PES_PACKET]; m_iWritePos = 0; m_iStreamId = -1; m_iPesHeaderLen = 0; m_iPesLength = 0; hasPayloadStart = false; }
private int _pid; // we dont need this i think.. public PESDecoder(PESCallback cb) { ServiceRegistration.Get<ILogger>().Debug("PESDecoder ctor"); _cb = cb; _pid = -1; _pesBuffer = new byte[MAX_PES_PACKET]; _iWritePos = 0; _iStreamId = -1; _iPesHeaderLen = 0; _iPesLength = 0; _hasPayloadStart = false; }