mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
dashdemux: remove wrong asserts
Those asserts should be the contrary that they are. And also the surround functions should already check that. Removing them.
This commit is contained in:
parent
665d59edba
commit
3472efda75
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue