Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Unified Diff: src/libmtp.h

Issue 898023002: Add LIBMTP_Get_Thumbnail_Format to get thumbnail format of a file. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libmtp@master
Patch Set: Change unsigned int to uint16_t. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « patches/20_get_thumbnail_format.patch ('k') | src/libmtp.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/libmtp.h
diff --git a/src/libmtp.h b/src/libmtp.h
index f923cc1239b50c496e74bfe7c807353194eb5799..07aa27394b7e1f3212fd3dc536ad786cc22b76c6 100644
--- a/src/libmtp.h
+++ b/src/libmtp.h
@@ -924,6 +924,8 @@ int LIBMTP_Get_Representative_Sample(LIBMTP_mtpdevice_t *, uint32_t const,
LIBMTP_filesampledata_t *);
int LIBMTP_Get_Thumbnail(LIBMTP_mtpdevice_t *, uint32_t const,
unsigned char **data, unsigned int *size);
+int LIBMTP_Get_Thumbnail_Format(LIBMTP_mtpdevice_t *device, uint32_t const id,
+ uint16_t *format);
/**
* @}
« no previous file with comments | « patches/20_get_thumbnail_format.patch ('k') | src/libmtp.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698