Hi <div>I'm trying to streaming a ts from from 264 es stream, the pipeline is like:</div><div>ByteStreamFileSource->H264VideoStreamFramer->MPEG2TransportStreamFromESSource->MPEG2TransportStreamFramer.</div><div>
While at the end of playback, there's a little chance to crash.</div><div><br></div><div>In MPEG2TransportStreamFromESSource.cpp, </div><div>void MPEG2TransportStreamFromESSource::awaitNewBuffer(unsigned char* oldBuffer)</div>
<div>There's a piece of code like:</div><div>--------------------------------</div><div>...</div><div><div>  // No filled-in buffers are available. Ask each of our inputs for data:</div><div>  for (sourceRec = fInputSources; sourceRec != NULL;</div>
<div>       sourceRec = sourceRec->next()) {</div><div>    sourceRec->askForNewData();</div><div>  }</div></div><div>----------------------------------------</div><div><br></div><div>After sourceRec->askForNewData(), the sourceRec may be destructed, and the "sourceRec=sourceRec->next()" will be a wild pointer.</div>
<div><br></div><div>I'm not sure if I'm wrong or this has been reported before.</div><div><br></div><div>Thanks</div>