Lines Matching refs:last_scr
76 int64_t last_scr; /* current system clock */
493 s->last_scr = 0;
677 if ((s->packet_number % s->pack_header_freq) == 0 || s->last_scr != scr) {
681 s->last_scr= scr;
727 s->last_scr= scr;
1040 int64_t scr= s->last_scr;
1133 s->last_scr += s->packet_size*90000LL / (s->mux_rate*50LL); //FIXME rounding and first few bytes of each packet
1138 s->last_scr += s->packet_size*90000LL / (s->mux_rate*50LL); //FIXME rounding and first few bytes of each packet
1147 if(remove_decoded_packets(ctx, s->last_scr) < 0)
1177 if(!s->last_scr)
1178 s->last_scr= dts + preload;