Commit fb760a56 authored by Thiago Santos's avatar Thiago Santos
Browse files

dashdemux: remove unused segment attribute

It was never used, only initialized
parent 3055bb33
...@@ -330,8 +330,6 @@ gst_dash_demux_class_init (GstDashDemuxClass * klass) ...@@ -330,8 +330,6 @@ gst_dash_demux_class_init (GstDashDemuxClass * klass)
static void static void
gst_dash_demux_init (GstDashDemux * demux) gst_dash_demux_init (GstDashDemux * demux)
{ {
gst_segment_init (&demux->segment, GST_FORMAT_TIME);
/* Properties */ /* Properties */
demux->max_buffering_time = DEFAULT_MAX_BUFFERING_TIME * GST_SECOND; demux->max_buffering_time = DEFAULT_MAX_BUFFERING_TIME * GST_SECOND;
demux->bandwidth_usage = DEFAULT_BANDWIDTH_USAGE; demux->bandwidth_usage = DEFAULT_BANDWIDTH_USAGE;
...@@ -655,8 +653,6 @@ gst_dash_demux_reset (GstAdaptiveDemux * ademux) ...@@ -655,8 +653,6 @@ gst_dash_demux_reset (GstAdaptiveDemux * ademux)
demux->client = NULL; demux->client = NULL;
} }
demux->client = gst_mpd_client_new (); demux->client = gst_mpd_client_new ();
gst_segment_init (&demux->segment, GST_FORMAT_TIME);
} }
static GstCaps * static GstCaps *
......
...@@ -86,8 +86,6 @@ struct _GstDashDemux ...@@ -86,8 +86,6 @@ struct _GstDashDemux
GSList *next_periods; GSList *next_periods;
GstSegment segment;
GstMpdClient *client; /* MPD client */ GstMpdClient *client; /* MPD client */
GMutex client_lock; GMutex client_lock;
......
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