diff options
| -rw-r--r-- | config.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: config.c,v 1.69 2008-07-29 20:57:54 phintuka Exp $ + * $Id: config.c,v 1.70 2008-09-06 06:07:47 phintuka Exp $ * */ @@ -376,19 +376,19 @@ bool config_t::IsPlaylistFile(const char *fname) bool config_t::IsAudioFile(const char *fname) { const char *ext = get_extension(fname); - return ext && ext_is_audio(ext); + return ext && (ext_is_audio(ext) || ext_is_playlist(ext)); } bool config_t::IsVideoFile(const char *fname) { const char *ext = get_extension(fname); - return ext && (ext_is_video(ext) || ext_is_audio(ext)); + return ext && (ext_is_video(ext) || ext_is_audio(ext) || ext_is_playlist(ext)); } bool config_t::IsImageFile(const char *fname) { const char *ext = get_extension(fname); - return ext && ext_is_image(ext); + return ext && (ext_is_image(ext) || ext_is_playlist(ext)); } cString config_t::AutocropOptions(void) |
