mpegpsmux: remove unnecessary g_return_if_fail()
This should never happen, and should be a g_assert() if it's a worry. Fixes warnings from source code checkers about possible caps leaks here. https://bugzilla.gnome.org/show_bug.cgi?id=783955
This commit is contained in:
parent
4f9163c06c
commit
ed5d677dce
@ -229,7 +229,6 @@ mpegpsmux_create_stream (MpegPsMux * mux, MpegPsPadData * ps_data, GstPad * pad)
|
||||
}
|
||||
|
||||
s = gst_caps_get_structure (caps, 0);
|
||||
g_return_val_if_fail (s != NULL, FALSE);
|
||||
|
||||
if (gst_structure_has_name (s, "video/x-dirac")) {
|
||||
GST_DEBUG_OBJECT (pad, "Creating Dirac stream");
|
||||
|
Loading…
x
Reference in New Issue
Block a user