GstQTPadSetCapsFunc setcaps_func;
gchar *name;
gint pad_id;
+ gboolean lock = TRUE;
if (templ->direction != GST_PAD_SINK)
goto wrong_direction;
} else {
name = g_strdup_printf ("subtitle_%u", qtmux->subtitle_pads++);
}
+ lock = FALSE;
} else
goto wrong_template;
g_free (name);
collect_pad = (GstQTPad *)
gst_collect_pads_add_pad (qtmux->collect, newpad, sizeof (GstQTPad),
- (GstCollectDataDestroyNotify) (gst_qt_mux_pad_reset), TRUE);
+ (GstCollectDataDestroyNotify) (gst_qt_mux_pad_reset), lock);
/* set up pad */
gst_qt_mux_pad_reset (collect_pad);
collect_pad->trak = atom_trak_new (qtmux->context);