This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
output a pcr as soon as possible, patch by Mike Scheutzow, scheutzow at alcatel-lucent dot com
Originally committed as revision 21197 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Mike Scheutzow
Baptiste Coudurier
15 years ago
parent
906c16a11a
commit
6b18a3f5ba
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
libavformat/mpegtsenc.c
+ 3
- 0
libavformat/mpegtsenc.c
View File
@@ -485,6 +485,9 @@ static int mpegts_write_header(AVFormatContext *s)
else
ts->mux_rate = total_bit_rate;
// output a PCR as soon as possible
service->pcr_packet_count = service->pcr_packet_period;
// adjust pcr
ts->cur_pcr /= ts->mux_rate;
Write
Preview
Loading…
Cancel
Save