From 55a5bfe7409677a26437651798abbc6d87b56089 Mon Sep 17 00:00:00 2001 From: Roman Artiukhin Date: Mon, 14 Oct 2024 21:33:40 +0300 Subject: View Album Art from WPS context menu Add ability to imageviewer to view current track embedded/folder album art Add "View Album Art" WPS context menu item Change-Id: I49caebd38e5e3e2910d418bbeaa5e51da0e6bd93 --- apps/plugins/imageviewer/imageviewer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/imageviewer/imageviewer.h') diff --git a/apps/plugins/imageviewer/imageviewer.h b/apps/plugins/imageviewer/imageviewer.h index 44e56c0696..79691f747e 100644 --- a/apps/plugins/imageviewer/imageviewer.h +++ b/apps/plugins/imageviewer/imageviewer.h @@ -126,7 +126,7 @@ struct image_decoder { * size of buf after load image. it is used to calculate min downscale. * return PLUGIN_ERROR for error. ui will skip to next image. */ int (*load_image)(char *filename, struct image_info *info, - unsigned char *buf, ssize_t *buf_size); + unsigned char *buf, ssize_t *buf_size, int offset, int filesize); /* downscale loaded image by ds. use the buffer passed to load_image to * reszie image and/or store resized image. * return PLUGIN_ERROR for error. ui will skip to next image. */ -- cgit v1.2.3