CURRENT_STATUS_LOOPING,
CURRENT_STATUS_DISPLAY_SURFACE_CHANGE,
CURRENT_STATUS_DISPLAY_MODE,
- CURRENT_STATUS_DISPLAY_DST_ROI,
+ CURRENT_STATUS_DISPLAY_DST_ROI_AREA,
CURRENT_STATUS_DISPLAY_ROTATION,
CURRENT_STATUS_DISPLAY_VISIBLE,
CURRENT_STATUS_SUBTITLE_FILENAME,
} else if (strncmp(cmd, "ds", 2) == 0) {
g_menu_state = CURRENT_STATUS_DISPLAY_SURFACE_CHANGE;
} else if (strncmp(cmd, "dr", 2) == 0) {
- g_print("now, PLAYER_DISPLAY_MODE_DST_ROI(display mode) is set\n");
- g_menu_state = CURRENT_STATUS_DISPLAY_DST_ROI;
+ g_menu_state = CURRENT_STATUS_DISPLAY_DST_ROI_AREA;
} else if (strncmp(cmd, "nb", 2) == 0) {
g_menu_state = CURRENT_STATUS_HANDLE_NUM;
} else if (strncmp(cmd, "tr", 2) == 0) {
} else if (g_menu_state == CURRENT_STATUS_DISPLAY_SURFACE_CHANGE) {
g_print("*** input display surface type.(0: Wayland surface, 1: EVAS surface, 2: No use surface (e.g: audio playback)) \n");
} else if (g_menu_state == CURRENT_STATUS_DISPLAY_MODE) {
- g_print("*** input display mode value.(0: LETTER BOX, 1: ORIGIN SIZE, 2: FULL_SCREEN, 3: CROPPED_FULL, 4: ORIGIN_OR_LETTER) \n");
- } else if (g_menu_state == CURRENT_STATUS_DISPLAY_DST_ROI) {
+ g_print("*** input display mode value.(0: LETTER BOX, 1: ORIGIN SIZE, 2: FULL_SCREEN, 3: CROPPED_FULL, 4: ORIGIN_OR_LETTER, 5:ROI) \n");
+ } else if (g_menu_state == CURRENT_STATUS_DISPLAY_DST_ROI_AREA) {
g_print("*** input display roi value sequentially.(x, y, w, h)\n");
} else if (g_menu_state == CURRENT_STATUS_DISPLAY_ROTATION) {
g_print("*** input display rotation value.(0: NONE, 1: 90, 2: 180, 3: 270, 4:F LIP_HORZ, 5: FLIP_VERT ) \n");
reset_menu_state();
}
break;
- case CURRENT_STATUS_DISPLAY_DST_ROI:
+ case CURRENT_STATUS_DISPLAY_DST_ROI_AREA:
{
int value = atoi(cmd);
static int x = 0;
static int h = 0;
static int cnt = 0;
- set_display_mode(PLAYER_DISPLAY_MODE_DST_ROI);
switch (cnt) {
case 0:
x = value;