mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Use new GST_ENABLE_EXTRA_CHECKS #define
https://bugzilla.gnome.org/show_bug.cgi?id=756870
This commit is contained in:
parent
539265fcc5
commit
1efb451154
3 changed files with 4 additions and 3 deletions
|
@ -81,6 +81,7 @@ AG_GST_GETTEXT([gstreamer-$GST_API_VERSION])
|
|||
dnl *** check for arguments to configure ***
|
||||
|
||||
AG_GST_ARG_DISABLE_FATAL_WARNINGS
|
||||
AG_GST_ARG_ENABLE_EXTRA_CHECKS
|
||||
|
||||
dnl subsystems - can influence other decisions so needs to be high up
|
||||
dnl we need to AM_CONDITIONAL them here for automake 1.6.x compatibility
|
||||
|
|
|
@ -4054,7 +4054,7 @@ gst_pad_chain_data_unchecked (GstPad * pad, GstPadProbeType type, void *data)
|
|||
if (G_UNLIKELY (GST_PAD_MODE (pad) != GST_PAD_MODE_PUSH))
|
||||
goto wrong_mode;
|
||||
|
||||
#ifndef G_DISABLE_ASSERT
|
||||
#ifdef GST_ENABLE_EXTRA_CHECKS
|
||||
if (G_UNLIKELY (pad->priv->last_cookie != pad->priv->events_cookie)) {
|
||||
if (!find_event_by_type (pad, GST_EVENT_STREAM_START, 0)) {
|
||||
g_warning (G_STRLOC
|
||||
|
@ -4307,7 +4307,7 @@ gst_pad_push_data (GstPad * pad, GstPadProbeType type, void *data)
|
|||
if (G_UNLIKELY (GST_PAD_MODE (pad) != GST_PAD_MODE_PUSH))
|
||||
goto wrong_mode;
|
||||
|
||||
#ifndef G_DISABLE_ASSERT
|
||||
#ifdef GST_ENABLE_EXTRA_CHECKS
|
||||
if (G_UNLIKELY (pad->priv->last_cookie != pad->priv->events_cookie)) {
|
||||
if (!find_event_by_type (pad, GST_EVENT_STREAM_START, 0)) {
|
||||
g_warning (G_STRLOC
|
||||
|
|
|
@ -536,7 +536,7 @@ gst_base_transform_transform_caps (GstBaseTransform * trans,
|
|||
ret = klass->transform_caps (trans, direction, caps, filter);
|
||||
GST_LOG_OBJECT (trans, " to: %" GST_PTR_FORMAT, ret);
|
||||
|
||||
#ifndef G_DISABLE_ASSERT
|
||||
#ifdef GST_ENABLE_EXTRA_CHECKS
|
||||
if (filter) {
|
||||
if (!gst_caps_is_subset (ret, filter)) {
|
||||
GstCaps *intersection;
|
||||
|
|
Loading…
Reference in a new issue