diff options
author | Thiago Santos <thiago.sousa.santos@collabora.com> | 2013-04-10 18:09:19 -0300 |
---|---|---|
committer | Thiago Santos <thiago.sousa.santos@collabora.com> | 2013-05-08 18:14:46 -0300 |
commit | 3472efda75566540ef5b7396f83dd4b1bb689afd (patch) | |
tree | 09ec2906639f6974441e3d48f9672bbc7529b635 /ext | |
parent | 665d59edbaeaba325e4882ca2a50577afb2fb294 (diff) | |
download | gstreamer-plugins-bad-3472efda75566540ef5b7396f83dd4b1bb689afd.tar.gz |
dashdemux: remove wrong asserts
Those asserts should be the contrary that they are. And also
the surround functions should already check that. Removing them.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/dash/gstdashdemux.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index a14b22385..a34a8afe1 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -972,7 +972,6 @@ gst_dash_demux_expose_streams (GstDashDemux * demux) GST_LOG_OBJECT (demux, "Exposing stream %d %" GST_PTR_FORMAT, stream->index, stream->input_caps); - g_assert (stream->pad == NULL); gst_element_add_pad (GST_ELEMENT (demux), gst_object_ref (stream->pad)); } gst_element_no_more_pads (GST_ELEMENT_CAST (demux)); @@ -989,7 +988,6 @@ gst_dash_demux_remove_streams (GstDashDemux * demux, GSList * streams) GST_LOG_OBJECT (demux, "Removing stream %d %" GST_PTR_FORMAT, stream->index, stream->input_caps); - g_assert (stream->pad == NULL); gst_pad_push_event (stream->pad, gst_event_ref (eos)); gst_pad_set_active (stream->pad, FALSE); gst_element_remove_pad (GST_ELEMENT (demux), stream->pad); |