[FFmpeg-soc] [soc]: r2012 - dvbmuxer/mpegtsenc.c
bcoudurier
subversion at mplayerhq.hu
Tue Mar 11 18:12:27 CET 2008
Author: bcoudurier
Date: Tue Mar 11 18:12:27 2008
New Revision: 2012
Log:
pcr indentifies the byte of program clock reference _base_, not ext
Modified:
dvbmuxer/mpegtsenc.c
Modified: dvbmuxer/mpegtsenc.c
==============================================================================
--- dvbmuxer/mpegtsenc.c (original)
+++ dvbmuxer/mpegtsenc.c Tue Mar 11 18:12:27 2008
@@ -557,7 +557,7 @@ static void mpegts_write_pes(AVFormatCon
ts_st->cc = (ts_st->cc + 1) & 0xf;
if (write_pcr) {
/* add header and pcr bytes to pcr according to specs */
- pcr = ts->cur_pcr + (32+64) * 90000 / ts->mux_rate;
+ pcr = ts->cur_pcr + (32+56) * 90000 / ts->mux_rate;
*q++ = 7; /* AFC length */
*q++ = 0x10; /* flags: PCR present */
*q++ = pcr >> 25;
More information about the FFmpeg-soc
mailing list