Skip to content
Snippets Groups Projects
Commit 8548f97f authored by Emilian Peev's avatar Emilian Peev
Browse files

live555: Increase Mpeg2TS input buffer size

 - The input buffer size for Mpeg2TS ES
   sources seems insufficient for some use
   cases which leads to data truncation.

Change-Id: If6332d68dd09f7e40ba889fb0096da0ded3dc1c6
parent 0d7761c6
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ along with this library; if not, write to the Free Software Foundation, Inc.,
#include "MPEG2TransportStreamFromESSource.hh"
#define MAX_INPUT_ES_FRAME_SIZE 100000
#define MAX_INPUT_ES_FRAME_SIZE 200000
#define SIMPLE_PES_HEADER_SIZE 14
#define LOW_WATER_MARK 1000 // <= MAX_INPUT_ES_FRAME_SIZE
#define INPUT_BUFFER_SIZE (SIMPLE_PES_HEADER_SIZE + 2*MAX_INPUT_ES_FRAME_SIZE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment