g_slice_free (TsMuxSection, section);
}
+static TsMuxStream *
+tsmux_new_stream_default (guint16 pid, guint stream_type, gpointer user_data)
+{
+ return tsmux_stream_new (pid, stream_type);
+}
+
/**
* tsmux_new:
*
mux->si_sections = g_hash_table_new_full (g_direct_hash, g_direct_equal,
NULL, (GDestroyNotify) tsmux_section_free);
- mux->new_stream_func = (TsMuxNewStreamFunc) tsmux_stream_new;
+ mux->new_stream_func = tsmux_new_stream_default;
mux->new_stream_data = NULL;
mux->first_pcr_ts = G_MININT64;