summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2017-03-06 17:14:00 +0100
committerMarcus Meissner <marcus@jet.franken.de>2017-03-06 17:14:39 +0100
commit0b8ed33df21ebf490262a84b5d7825933add8d13 (patch)
tree23e243db154f5bccb5dbc9de4707504bcca7e2ee
parent8d416ea26849b8efe1f4fa67c60f186d6f1cb45d (diff)
downloadlibgphoto2-0b8ed33df21ebf490262a84b5d7825933add8d13.tar.gz
decode sony raw name
-rw-r--r--NEWS4
-rw-r--r--camlibs/ptp2/ptp.c8
2 files changed, 12 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 4591a6ee2..36a8a512b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,8 @@
libgphoto2 2.5.12.1 development release
+
+ptp2:
+* Sony Alpha Live View support.
+
------------------------------------------------------------------------------
libgphoto2 2.5.12 release
diff --git a/camlibs/ptp2/ptp.c b/camlibs/ptp2/ptp.c
index b421512ab..8a4b6d0e3 100644
--- a/camlibs/ptp2/ptp.c
+++ b/camlibs/ptp2/ptp.c
@@ -5903,6 +5903,14 @@ ptp_render_ofc(PTPParams* params, uint16_t ofc, int spaceleft, char *txt)
break;
}
break;
+ case PTP_VENDOR_SONY:
+ switch (ofc) {
+ case PTP_OFC_SONY_RAW:
+ return snprintf (txt, spaceleft,"ARW");
+ default:
+ break;
+ }
+ break;
case PTP_VENDOR_MICROSOFT:
case PTP_VENDOR_MTP:
for (i=0;i<sizeof(ptp_ofc_mtp_trans)/sizeof(ptp_ofc_mtp_trans[0]);i++)