Originally committed as revision 22936 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Jai Menon 15 years ago
parent 805a83d506
commit 6858ce2ffc
  1. 2
      libavcodec/parser.c

@ -91,7 +91,7 @@ void ff_fetch_timestamp(AVCodecParserContext *s, int off, int remove){
if ( s->cur_offset + off >= s->cur_frame_offset[i]
&& (s->frame_offset < s->cur_frame_offset[i] ||
(!s->frame_offset && !s->next_frame_offset)) // first field/frame
//check is disabled becausue mpeg-ts doesnt send complete PES packets
//check is disabled because mpeg-ts doesnt send complete PES packets
&& /*s->next_frame_offset + off <*/ s->cur_frame_end[i]){
s->dts= s->cur_frame_dts[i];
s->pts= s->cur_frame_pts[i];

Loading…
Cancel
Save