Searched refs:new_duration (Results 1 – 4 of 4) sorted by relevance
712 GstClockTime new_duration = 0; in gst_multi_file_sink_write_buffer() local717 new_duration = GST_BUFFER_PTS (buffer) - multifilesink->file_pts; in gst_multi_file_sink_write_buffer()720 new_duration += GST_BUFFER_DURATION (buffer); in gst_multi_file_sink_write_buffer()723 if (new_duration > multifilesink->max_file_duration) { in gst_multi_file_sink_write_buffer()727 G_GUINT64_FORMAT, new_duration, multifilesink->max_file_duration); in gst_multi_file_sink_write_buffer()
949 int new_duration; in IncreasePreviousDuration() local958 new_duration = prev_enc_frame->sub_frame_.duration + duration; in IncreasePreviousDuration()959 if (new_duration >= MAX_DURATION) { // Special case. in IncreasePreviousDuration()1001 prev_enc_frame->sub_frame_.duration = new_duration; in IncreasePreviousDuration()1002 prev_enc_frame->key_frame_.duration = new_duration; in IncreasePreviousDuration()
946 int new_duration; in IncreasePreviousDuration() local956 new_duration = prev_enc_frame->sub_frame_.duration + duration; in IncreasePreviousDuration()957 if (new_duration >= MAX_DURATION) { // Special case. in IncreasePreviousDuration()999 prev_enc_frame->sub_frame_.duration = new_duration; in IncreasePreviousDuration()1000 prev_enc_frame->key_frame_.duration = new_duration; in IncreasePreviousDuration()
1335 GstClockTime new_duration = in gst_avwait_asink_chain() local1340 GST_BUFFER_TIMESTAMP (inbuf) + new_duration); in gst_avwait_asink_chain()