From 7a44d29ed425b25b405437b23193c42a92281b84 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 16 Aug 2017 08:50:46 +0200 Subject: [PATCH] Only show video entries when HAVE_FFMPEG is enabled --- menu/menu_displaylist.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index 4a212cb34c..f27e32f935 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -3529,11 +3529,13 @@ static int menu_displaylist_parse_playlists( MENU_ENUM_LABEL_GOTO_MUSIC, MENU_SETTING_ACTION, 0, 0); +#ifdef HAVE_FFMPEG menu_entries_append_enum(info->list, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_GOTO_VIDEO), msg_hash_to_str(MENU_ENUM_LABEL_GOTO_VIDEO), MENU_ENUM_LABEL_GOTO_VIDEO, MENU_SETTING_ACTION, 0, 0); +#endif } if (list_size == 0) @@ -6048,11 +6050,13 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data) MENU_ENUM_LABEL_GOTO_MUSIC, MENU_SETTING_ACTION, 0, 0); +#ifdef HAVE_FFMPEG menu_entries_append_enum(info->list, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_GOTO_VIDEO), msg_hash_to_str(MENU_ENUM_LABEL_GOTO_VIDEO), MENU_ENUM_LABEL_GOTO_VIDEO, MENU_SETTING_ACTION, 0, 0); +#endif if (!string_is_empty(settings->paths.directory_menu_content)) menu_entries_append_enum(info->list,