summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChow Loong Jin <hyperair@debian.org>2013-02-02 00:25:23 +0800
committerLinus Walleij <triad@df.lth.se>2013-03-15 08:47:53 +0100
commit44febe2b8b87e17fd5cbd535ecbf31610e553f2e (patch)
tree9cdc4755be03d77fbea42be4f191a1c89145eacd
parent91b85b5e83db1a3945b5e60b28f7256f2df1cee3 (diff)
downloadlibmtp-44febe2b8b87e17fd5cbd535ecbf31610e553f2e.tar.gz
Extend Samsung Galaxy MTP device flags
The Samsung Galaxy S3 which is 04e8:6860 supports FLAC and OGG files, even if it doesn't report its support, so add these two flags to music-players.h. Signed-off-by: Chow Loong Jin <hyperair@debian.org> Signed-off-by: Linus Walleij <triad@df.lth.se>
-rw-r--r--src/music-players.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/music-players.h b/src/music-players.h
index dabefb9..145e763 100644
--- a/src/music-players.h
+++ b/src/music-players.h
@@ -409,7 +409,9 @@
DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
DEVICE_FLAG_UNLOAD_DRIVER |
DEVICE_FLAG_LONG_TIMEOUT |
- DEVICE_FLAG_PROPLIST_OVERRIDES_OI },
+ DEVICE_FLAG_PROPLIST_OVERRIDES_OI |
+ DEVICE_FLAG_OGG_IS_UNKNOWN |
+ DEVICE_FLAG_FLAC_IS_UNKNOWN },
// From: Erik Berglund <erikjber@users.sourceforge.net>
// Logs indicate this needs DEVICE_FLAG_NO_ZERO_READS
// No Samsung platlists on this device.