diff options
| author | phintuka <phintuka> | 2008-09-06 06:07:47 +0000 |
|---|---|---|
| committer | phintuka <phintuka> | 2008-09-06 06:07:47 +0000 |
| commit | a203da2696144df4e703c86a8d7d097496e4f7d6 (patch) | |
| tree | 79496e7d440532c7ef5819b46b3183e002f5d624 | |
| parent | 7fb9ea7b68a08b9cb2c087caabee263b19631b63 (diff) | |
| download | xineliboutput-a203da2696144df4e703c86a8d7d097496e4f7d6.tar.gz xineliboutput-a203da2696144df4e703c86a8d7d097496e4f7d6.tar.bz2 | |
Restore playlist file detection (was lost in commit 1.65)
| -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) |
