summaryrefslogtreecommitdiff
path: root/libmediaart/extract.c
diff options
context:
space:
mode:
authorMartyn Russell <martyn@lanedo.com>2014-02-25 13:46:48 +0000
committerMartyn Russell <martyn@lanedo.com>2014-06-23 05:31:45 +0100
commit91f827eb4d176ac14f514a1c260abdb4dabd9cf0 (patch)
tree0a09f4516953497d406ca6d3479f134d056778d9 /libmediaart/extract.c
parent44c8e4a8ebc30255c170c63b476371ba0e9adb13 (diff)
downloadlibmediaart-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.c5
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.