dashdemux: fix double unref of object
authorThiago Santos <thiagoss@osg.samsung.com>
Tue, 2 Dec 2014 18:52:54 +0000 (15:52 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Tue, 2 Dec 2014 18:52:54 +0000 (15:52 -0300)
the datetime is already released by the end of the function

ext/dash/gstdashdemux.c

index 3d091dd..22d5716 100644 (file)
@@ -551,7 +551,6 @@ gst_dash_demux_setup_streams (GstAdaptiveDemux * demux)
       gst_mpd_client_set_segment_index (active_stream, seg_idx);
     }
 
-    gst_date_time_unref (now);
   } else {
     GST_DEBUG_OBJECT (demux, "Seeking to first segment for on-demand stream ");