Commit bbde16ff authored by Andrey Filippov's avatar Andrey Filippov

hardware frame number 8->16

parent 96fec446
...@@ -145,7 +145,7 @@ function showCircbufFrame(frame_num) { ...@@ -145,7 +145,7 @@ function showCircbufFrame(frame_num) {
} }
function parseExif(xml) { function parseExif(xml) {
var v; var v,f;
var needsRedraw=false; var needsRedraw=false;
if (typeof(xml.getElementsByTagName('ImageDescription' )[0])=='undefined') { if (typeof(xml.getElementsByTagName('ImageDescription' )[0])=='undefined') {
if (document.getElementById('idImageDescription_ALL').style.display !='none') needsRedraw=true;; if (document.getElementById('idImageDescription_ALL').style.display !='none') needsRedraw=true;;
...@@ -175,7 +175,8 @@ function parseExif(xml) { ...@@ -175,7 +175,8 @@ function parseExif(xml) {
} else { } else {
if (document.getElementById('idExifFrameNumber_ALL').style.display =='none') needsRedraw=true;; if (document.getElementById('idExifFrameNumber_ALL').style.display =='none') needsRedraw=true;;
document.getElementById("idExifFrameNumber_ALL").style.display =""; document.getElementById("idExifFrameNumber_ALL").style.display ="";
document.getElementById("idExifFrameNumber").innerHTML=parseInt(v)+" ("+(parseInt(v) & 7)+")"; f=parseInt(v) & 15;
document.getElementById("idExifFrameNumber").innerHTML=parseInt(v)+" ("+((f<10)?" ":"")+f+")";
} }
v= getIfDefinedFCNV(xml.getElementsByTagName('ExposureTime' )[0]); v= getIfDefinedFCNV(xml.getElementsByTagName('ExposureTime' )[0]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment