mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
cog, schroedinger: fix warnings when compiling with -DG_DISABLE_ASSERT
This commit is contained in:
parent
62c289f71d
commit
b9af27719d
5 changed files with 5 additions and 0 deletions
|
@ -357,6 +357,7 @@ gst_cogdownsample_transform (GstBaseTransform * base_transform,
|
|||
break;
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
return GST_FLOW_ERROR;
|
||||
}
|
||||
|
||||
frame = cog_virt_frame_new_unpack (frame);
|
||||
|
|
|
@ -126,6 +126,7 @@ gst_cog_buffer_wrap (GstBuffer * buf, GstVideoFormat format, int width,
|
|||
break;
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
return NULL;
|
||||
}
|
||||
cog_frame_set_free_callback (frame, gst_cog_frame_free, buf);
|
||||
|
||||
|
|
|
@ -600,6 +600,7 @@ gst_schro_enc_get_caps (GstBaseVideoEncoder * base_video_encoder)
|
|||
state->par_d, NULL);
|
||||
} else {
|
||||
g_assert_not_reached ();
|
||||
caps = NULL;
|
||||
}
|
||||
|
||||
return caps;
|
||||
|
|
|
@ -579,6 +579,7 @@ gst_schro_parse_get_caps (GstBaseVideoParse * base_video_parse)
|
|||
state->par_d, NULL);
|
||||
} else {
|
||||
g_assert_not_reached ();
|
||||
caps = NULL;
|
||||
}
|
||||
|
||||
return caps;
|
||||
|
|
|
@ -95,6 +95,7 @@ gst_schro_buffer_wrap (GstBuffer * buf, GstVideoFormat format, int width,
|
|||
#endif
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
return NULL;
|
||||
}
|
||||
schro_frame_set_free_callback (frame, gst_schro_frame_free, buf);
|
||||
|
||||
|
|
Loading…
Reference in a new issue