mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
Revert "audioaggregator: check sink caps are valid"
This reverts commit 6d4d0d1cdf
.
Never put code with side effects into an assertion, it can be compiled out
This commit is contained in:
parent
a7cfb6240f
commit
8199405dd7
1 changed files with 1 additions and 1 deletions
|
@ -617,7 +617,7 @@ gst_audio_aggregator_set_sink_caps (GstAudioAggregator * aagg,
|
||||||
GstAudioAggregatorPad * pad, GstCaps * caps)
|
GstAudioAggregatorPad * pad, GstCaps * caps)
|
||||||
{
|
{
|
||||||
GST_OBJECT_LOCK (pad);
|
GST_OBJECT_LOCK (pad);
|
||||||
g_assert (gst_audio_info_from_caps (&pad->info, caps));
|
gst_audio_info_from_caps (&pad->info, caps);
|
||||||
GST_OBJECT_UNLOCK (pad);
|
GST_OBJECT_UNLOCK (pad);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue