From 9939776e5ee70818d9cc4a5a7cd9f09da4239164 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 22 Sep 2012 05:13:29 +0200 Subject: commands: make "aspect" property writeable, replaces "switch_ratio" Move the code for "switch_ratio" to the M_PROPERTY_SET case of the "aspect" property. The rules are exactly the same, e.g. setting a ratio smaller than 0.1 sets the pixel aspect ratio to 1:1. For now, we define that writing "0" sets the PAR to 1:1, and disallow -1 (possibly reserve it to reset to default aspect ratio). --- input/input.h | 1 - 1 file changed, 1 deletion(-) (limited to 'input/input.h') diff --git a/input/input.h b/input/input.h index 0fa5c32971..158d71b8ac 100644 --- a/input/input.h +++ b/input/input.h @@ -41,7 +41,6 @@ enum mp_command_type { MP_CMD_TV_LAST_CHANNEL, MP_CMD_TV_SET_FREQ, MP_CMD_TV_SET_NORM, - MP_CMD_SWITCH_RATIO, MP_CMD_FRAME_STEP, MP_CMD_SPEED_MULT, MP_CMD_RUN, -- cgit v1.2.3