diff options
author | Martyn Russell <martyn@lanedo.com> | 2014-02-25 13:46:48 +0000 |
---|---|---|
committer | Martyn Russell <martyn@lanedo.com> | 2014-06-23 05:31:45 +0100 |
commit | 91f827eb4d176ac14f514a1c260abdb4dabd9cf0 (patch) | |
tree | 0a09f4516953497d406ca6d3479f134d056778d9 /libmediaart/extract.c | |
parent | 44c8e4a8ebc30255c170c63b476371ba0e9adb13 (diff) | |
download | libmediaart-91f827eb4d176ac14f514a1c260abdb4dabd9cf0.tar.gz |
tests: Don't expect media art extraction for NULL data buffer for !images
Diffstat (limited to 'libmediaart/extract.c')
-rw-r--r-- | libmediaart/extract.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libmediaart/extract.c b/libmediaart/extract.c index 690bca7..9ddc8d0 100644 --- a/libmediaart/extract.c +++ b/libmediaart/extract.c @@ -1415,7 +1415,10 @@ get_heuristic_for_parent_path (GFile *file, * * If @buffer is %NULL, libmediaart will search the parent directory of @file * for image files that are likely to be media art for @file, and if one is - * found it will be saved in the media art cache. + * found it will be saved in the media art cache. If @buffer is %NULL + * for a @file which is *not* an image file (typically JPEG or PNG, + * supported by the backends), this function will return %FALSE with + * no error set, because it's not expected to work. * * If @file is on a removable filesystem, the media art file will be saved in a * cache on the removable file system rather than on the host machine. |