libeplayer3: skip video until first audio frame was found

This commit is contained in:
martii
2014-05-02 14:52:10 +02:00
parent 3c2f594147
commit b0a734c607
2 changed files with 5 additions and 2 deletions

View File

@@ -129,7 +129,7 @@ bool WriterPCM::prepareClipPlay()
SubFrameLen *= uBitsPerSample / 8;
//rewrite PES size to have as many complete subframes per PES as we can
SubFramesPerPES = ((sizeof(injectBuffer) - 18) - sizeof(lpcm_prv)) / SubFrameLen;
SubFramesPerPES = ((sizeof(injectBuffer) - 14) - sizeof(lpcm_prv)) / SubFrameLen;
SubFrameLen *= SubFramesPerPES;
//set number of channels