mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-25 15:36:42 +00:00
editing-services: Add more warning flags
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
parent
ee722d0b16
commit
2cb0f6b265
2 changed files with 18 additions and 10 deletions
subprojects/gst-editing-services
|
@ -277,20 +277,27 @@ else
|
|||
message('GStreamer debug system is enabled')
|
||||
endif
|
||||
|
||||
# NOTE: Keep entries alphabetically sorted
|
||||
warning_flags = [
|
||||
'-Wmissing-declarations',
|
||||
'-Wmissing-prototypes',
|
||||
'-Wredundant-decls',
|
||||
'-Wundef',
|
||||
'-Wwrite-strings',
|
||||
'-Waddress',
|
||||
# '-Waggregate-return',
|
||||
'-Wformat',
|
||||
'-Wformat-security',
|
||||
'-Wimplicit-fallthrough=3',
|
||||
'-Winit-self',
|
||||
'-Wmissing-declarations',
|
||||
'-Wmissing-include-dirs',
|
||||
'-Waddress',
|
||||
'-Wmissing-parameter-type',
|
||||
'-Wmissing-prototypes',
|
||||
'-Wno-multichar',
|
||||
'-Wvla',
|
||||
'-Wold-style-definition',
|
||||
'-Wpointer-arith',
|
||||
'-Wredundant-decls',
|
||||
'-Wshift-negative-value',
|
||||
'-Wtype-limits',
|
||||
'-Wundef',
|
||||
'-Wvla',
|
||||
'-Wwrite-strings',
|
||||
]
|
||||
|
||||
foreach extra_arg : warning_flags
|
||||
|
|
|
@ -1670,14 +1670,15 @@ keyboard_cb (const gchar * key_input, gpointer user_data)
|
|||
case 't':
|
||||
play_switch_trick_mode (self);
|
||||
break;
|
||||
case '0':
|
||||
play_do_seek (self, 0, self->priv->rate, self->priv->trick_mode);
|
||||
break;
|
||||
case 27: /* ESC */
|
||||
if (key_input[1] == '\0') {
|
||||
g_application_quit (G_APPLICATION (self));
|
||||
break;
|
||||
}
|
||||
case '0':
|
||||
play_do_seek (self, 0, self->priv->rate, self->priv->trick_mode);
|
||||
break;
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
if (strcmp (key_input, GST_PLAY_KB_ARROW_RIGHT) == 0) {
|
||||
relative_seek (self, +0.08);
|
||||
|
|
Loading…
Reference in a new issue