static void gst_span_plc_flush (GstSpanPlc * plc, gboolean renew) { if (plc->plc_state) plc_free (plc->plc_state); if (renew) plc->plc_state = plc_init (NULL); else plc->plc_state = NULL; }
static void gst_span_plc_flush (GstSpanPlc * plc, gboolean renew) { if (plc->plc_state) plc_free (plc->plc_state); if (renew) plc->plc_state = plc_init (NULL); else plc->plc_state = NULL; plc->last_stop = GST_CLOCK_TIME_NONE; }
static void gst_span_plc_dispose (GObject * object) { GstSpanPlc *plc = GST_SPAN_PLC (object); if (plc->plc_state) plc_free (plc->plc_state); plc->plc_state = NULL; G_OBJECT_CLASS (parent_class)->dispose (object); }