summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2006-09-06 17:57:45 +0000
committerphintuka <phintuka>2006-09-06 17:57:45 +0000
commit0bd99b436f3d6b2ce050ec35b4b318df9bfe08c0 (patch)
tree476a7ba101b83361dab84d5c8eb6cd9b00979191
parent20be73e3559ecdbc08c5e912fc8025d935d52362 (diff)
downloadxineliboutput-0bd99b436f3d6b2ce050ec35b4b318df9bfe08c0.tar.gz
xineliboutput-0bd99b436f3d6b2ce050ec35b4b318df9bfe08c0.tar.bz2
Fixed missing PES header size
-rw-r--r--frontend.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/frontend.c b/frontend.c
index 7ea6d87c..6160af38 100644
--- a/frontend.c
+++ b/frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: frontend.c,v 1.15 2006-09-04 13:22:55 phintuka Exp $
+ * $Id: frontend.c,v 1.16 2006-09-06 17:57:45 phintuka Exp $
*
*/
@@ -368,7 +368,8 @@ bool cXinelibThread::Play_Mpeg2_ES(const uchar *data, int len, int streamID)
uchar *frame = new uchar[PES_CHUNK_SIZE+32];
static uchar hdr_pts[] = {0x00,0x00,0x01,0xe0, 0x00,0x08,0x80,0x80,
- 0x00,0x00,0x00,0x00, 0x00,0x00}; /* mpeg2 */
+ 0x05,0x00,0x00,0x00, 0x00,0x00}; /* mpeg2 */
+
hdr_pts[3] = (uchar)streamID;
Play_PES(hdr_pts, sizeof(hdr_pts));