Advertisement
Guest User

ffmpeg.c_pts_codeBit

a guest
May 18th, 2011
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.53 KB | None | 0 0
  1. 01562                     ist->next_pts = ist->pts = picture.best_effort_timestamp;
  2. 01563                     if (ist->st->codec->time_base.num != 0) {
  3. 01564                         int ticks= ist->st->parser ? ist->st->parser->repeat_pict+1 : ist->st->codec->ticks_per_frame;
  4. 01565                         ist->next_pts += ((int64_t)AV_TIME_BASE *
  5. 01566                                           ist->st->codec->time_base.num * ticks) /
  6. 01567                             ist->st->codec->time_base.den;
  7. 01568                     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement