Lines Matching refs:first_frame
956 encoder->first_frame = NULL; in gst_svthevc_enc_init_encoder()
1936 if (encoder->first_frame) { in gst_svthevc_enc_receive_frame()
1937 if (frame->pts > encoder->first_frame->pts) { in gst_svthevc_enc_receive_frame()
1938 encoder->dts_offset = frame->pts - encoder->first_frame->pts; in gst_svthevc_enc_receive_frame()
1983 encoder->first_frame->dts = in gst_svthevc_enc_receive_frame()
1985 if (GST_CLOCK_TIME_IS_VALID (encoder->first_frame->dts)) in gst_svthevc_enc_receive_frame()
1986 encoder->first_frame->dts -= encoder->dts_offset; in gst_svthevc_enc_receive_frame()
1990 GST_TIME_ARGS (encoder->first_frame->dts), in gst_svthevc_enc_receive_frame()
1991 GST_TIME_ARGS (encoder->first_frame->pts)); in gst_svthevc_enc_receive_frame()
1995 encoder->first_frame); in gst_svthevc_enc_receive_frame()
1996 encoder->first_frame = NULL; in gst_svthevc_enc_receive_frame()
1998 encoder->first_frame = frame; in gst_svthevc_enc_receive_frame()
2052 if (encoder->first_frame) { in gst_svthevc_enc_drain_encoder()
2055 GST_TIME_ARGS (encoder->first_frame->dts), in gst_svthevc_enc_drain_encoder()
2056 GST_TIME_ARGS (encoder->first_frame->pts)); in gst_svthevc_enc_drain_encoder()
2058 encoder->first_frame); in gst_svthevc_enc_drain_encoder()
2059 encoder->first_frame = NULL; in gst_svthevc_enc_drain_encoder()