Home
last modified time | relevance | path

Searched refs:next_pcr (Results 1 – 4 of 4) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/tsmux/
Dtsmux.c107 gint64 next_pcr);
856 gint64 cur_pcr, next_pcr, new_pcr; in tsmux_packet_out() local
862 next_pcr = get_next_pcr (mux, 0); in tsmux_packet_out()
863 new_pcr = write_new_pcr (mux, stream, cur_pcr, next_pcr); in tsmux_packet_out()
1372 gint64 next_pcr) in write_new_pcr() argument
1374 if (stream->next_pcr == -1 || next_pcr > stream->next_pcr) { in write_new_pcr()
1379 if (mux->bitrate && stream->next_pcr != -1 && cur_pcr >= stream->next_pcr) { in write_new_pcr()
1381 G_GUINT64_FORMAT " by %f ms", cur_pcr, stream->next_pcr, in write_new_pcr()
1382 (double) (cur_pcr - stream->next_pcr) / 27000.0); in write_new_pcr()
1385 stream->next_pcr = cur_pcr + mux->pcr_interval * 300; in write_new_pcr()
[all …]
Dtsmuxstream.h196 gint64 next_pcr; member
Dtsmuxstream.c218 stream->next_pcr = -1; in tsmux_stream_new()
/third_party/ffmpeg/libavformat/
Dmpegtsenc.c86 int64_t next_pcr; member
1337 if (pcr >= ts->next_pcr) { in mpegts_write_pes()
1338 int64_t next_pcr = INT64_MAX; in mpegts_write_pes() local
1355 next_pcr = FFMIN(next_pcr, ts_st2->last_pcr + ts_st2->pcr_period); in mpegts_write_pes()
1358 ts->next_pcr = next_pcr; in mpegts_write_pes()