Commit 273d2c23 authored by Mathieu Duponchelle's avatar Mathieu Duponchelle 🐸

Port to latest GstAggregator segment API

The aggregator segment is now exposed on the src pad
parent 3e5d9224
......@@ -244,7 +244,8 @@ gst_flv_mux_class_init (GstFlvMuxClass * klass)
&videosink_templ, GST_TYPE_FLV_MUX_PAD);
gst_element_class_add_static_pad_template_with_gtype (gstelement_class,
&audiosink_templ, GST_TYPE_FLV_MUX_PAD);
gst_element_class_add_static_pad_template (gstelement_class, &src_templ);
gst_element_class_add_static_pad_template_with_gtype (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class, "FLV muxer",
"Muxes video/audio streams into a FLV stream",
......@@ -1804,5 +1805,5 @@ static GstClockTime
gst_flv_mux_get_next_time (GstAggregator * aggregator)
return gst_flv_mux_get_next_time_for_segment (aggregator,
&GST_AGGREGATOR_PAD (aggregator->srcpad)->segment);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment