X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=subprojects%2Fgst-plugins-bad%2Fgst%2Fmpegtsmux%2Ftsmux%2Ftsmux.c;h=143145cbce8db4899709a68af860afeb78c2824c;hb=da02db0d95bd7e09ef348dcd0f27ff5ac8d51cbe;hp=6ab717085900dc7355edd0e2b69fdd64ca8f6ddb;hpb=2d938d37a667698ecb2e0da9589403dd5193f59d;p=platform%2Fupstream%2Fgstreamer.git diff --git a/subprojects/gst-plugins-bad/gst/mpegtsmux/tsmux/tsmux.c b/subprojects/gst-plugins-bad/gst/mpegtsmux/tsmux/tsmux.c index 6ab7170..143145c 100644 --- a/subprojects/gst-plugins-bad/gst/mpegtsmux/tsmux/tsmux.c +++ b/subprojects/gst-plugins-bad/gst/mpegtsmux/tsmux/tsmux.c @@ -116,6 +116,12 @@ tsmux_section_free (TsMuxSection * section) 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: * @@ -150,7 +156,7 @@ tsmux_new (void) 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;