mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
video.c: use g_assert_not_reached() for logical error here.
This will help to detect them closer to the source if they ever happen.
This commit is contained in:
parent
9b8992cbf1
commit
40273cf2d3
1 changed files with 2 additions and 2 deletions
|
@ -658,10 +658,10 @@ gst_video_format_new_caps_raw (GstVideoFormat format)
|
|||
blue_mask = GST_VIDEO_COMP1_MASK_15_INT;
|
||||
break;
|
||||
default:
|
||||
return NULL;
|
||||
g_assert_not_reached ();
|
||||
}
|
||||
} else if (bpp != 8) {
|
||||
return NULL;
|
||||
g_assert_not_reached ();
|
||||
}
|
||||
|
||||
caps = gst_caps_new_simple ("video/x-raw-rgb",
|
||||
|
|
Loading…
Reference in a new issue