(builtin ffmpeg) Add webm to extensions

This commit is contained in:
twinaphex 2015-06-23 08:32:21 +02:00
parent d86c049e25
commit fb5fd168f2
3 changed files with 3 additions and 1 deletions

View File

@ -205,7 +205,7 @@ void libretro_ffmpeg_retro_get_system_info(struct retro_system_info *info)
info->library_name = "FFmpeg";
info->library_version = "v1";
info->need_fullpath = true;
info->valid_extensions = "mkv|avi|f4v|f4f|3gp|ogm|flv|mp4|mp3|wav|flac|ogg|m4a";
info->valid_extensions = "mkv|avi|f4v|f4f|3gp|ogm|flv|mp4|mp3|wav|webm|flac|ogg|m4a";
}
void libretro_ffmpeg_retro_get_system_av_info(struct retro_system_av_info *info)

View File

@ -20,6 +20,7 @@
extern "C" {
#endif
#define MENU_VALUE_FILE_WEBM 0x7ca00b50U
#define MENU_VALUE_FILE_F4F 0x0b886be5U
#define MENU_VALUE_FILE_F4V 0x0b886bf5U
#define MENU_VALUE_FILE_OGM 0x0b8898c8U

View File

@ -434,6 +434,7 @@ enum rarch_content_type rarch_mediaplayer_is_media_type(const char *path)
case MENU_VALUE_FILE_AVI:
case MENU_VALUE_FILE_MP4:
case MENU_VALUE_FILE_FLV:
case MENU_VALUE_FILE_WEBM:
case MENU_VALUE_FILE_3GP:
case MENU_VALUE_FILE_F4F:
case MENU_VALUE_FILE_F4V: