summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/config.c b/config.c
index c16d7eb1..4cd845d4 100644
--- a/config.c
+++ b/config.c
@@ -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)