Lines Matching refs:last_scr
80 int64_t last_scr; /* current system clock */
506 s->last_scr = AV_NOPTS_VALUE;
604 if ((s->packet_number % s->pack_header_freq) == 0 || s->last_scr != scr) {
608 s->last_scr= scr;
654 s->last_scr= scr;
951 int64_t scr= s->last_scr;
1049 s->last_scr += s->packet_size*90000LL / (s->mux_rate*50LL); //FIXME rounding and first few bytes of each packet
1054 s->last_scr += s->packet_size*90000LL / (s->mux_rate*50LL); //FIXME rounding and first few bytes of each packet
1063 if(remove_decoded_packets(ctx, s->last_scr) < 0)
1087 if (s->last_scr == AV_NOPTS_VALUE) {
1091 s->last_scr = 0;
1093 s->last_scr = dts - preload;
1097 av_log(ctx, AV_LOG_DEBUG, "First SCR: %"PRId64" First DTS: %"PRId64"\n", s->last_scr, dts + preload);