libeplayer3: skip video until first audio frame was found

Origin commit data
------------------
Branch: master
Commit: 84e5a47f24
Author: martii <m4rtii@gmx.de>
Date: 2014-05-02 (Fri, 02 May 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2014-05-02 14:52:10 +02:00
parent 14fd1e3f14
commit d92f342f2a
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