Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-imgsrv
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-imgsrv
Commits
0fc884f6
Commit
0fc884f6
authored
Mar 07, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print serial number with ':'
parent
e0a3e5fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
imgsrv.c
src/imgsrv.c
+7
-1
No files found.
src/imgsrv.c
View file @
0fc884f6
...
...
@@ -296,7 +296,13 @@ int printExifXML(int exif_page, struct file_set *fset)
}
// Camera Serial Number
readCameraSerialNumberFromSysFS
(
&
path_to_serial
,
CameraSerialNumber
);
printf
(
"<CameraSerialNumber>
\"
%s
\"
</CameraSerialNumber>
\n
"
,
CameraSerialNumber
);
printf
(
"<CameraSerialNumber>
\"
%.2s:%.2s:%.2s:%.2s:%.2s:%.2s
\"
</CameraSerialNumber>
\n
"
,
&
CameraSerialNumber
[
0
],
&
CameraSerialNumber
[
2
],
&
CameraSerialNumber
[
4
],
&
CameraSerialNumber
[
6
],
&
CameraSerialNumber
[
8
],
&
CameraSerialNumber
[
10
]);
// Image Description
if
(
exif_dir
[
Exif_Image_ImageDescription_Index
].
ltag
==
Exif_Image_ImageDescription
)
{
// Exif_Image_ImageDescription is present in template
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment