Mercurial > mplayer.hg
diff command.c @ 36641:598ef7d90b78
Document switch case fallthroughs.
author | reimar |
---|---|
date | Sat, 25 Jan 2014 16:55:09 +0000 |
parents | 0caa0bf428b9 |
children | caea6b4337d8 |
line wrap: on
line diff
--- a/command.c Sat Jan 25 16:55:08 2014 +0000 +++ b/command.c Sat Jan 25 16:55:09 2014 +0000 @@ -1067,6 +1067,7 @@ M_PROPERTY_CLAMP(prop, *(int *) arg); if (vo_fs == !!*(int *) arg) return M_PROPERTY_OK; + /* Fallthrough to toggle */ case M_PROPERTY_STEP_UP: case M_PROPERTY_STEP_DOWN: #ifdef CONFIG_GUI @@ -1211,6 +1212,7 @@ M_PROPERTY_CLAMP(prop, *(int *) arg); if (*vo_var == !!*(int *) arg) return M_PROPERTY_OK; + /* Fallthrough to toggle */ case M_PROPERTY_STEP_UP: case M_PROPERTY_STEP_DOWN: if (vo_config_count) @@ -3442,6 +3444,7 @@ af_uninit(mpctx->mixer.afilter); af_init(mpctx->mixer.afilter); } + /* Fallthrough to add filters like for af_add */ case MP_CMD_AF_ADD: case MP_CMD_AF_DEL: if (!sh_audio)