Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
5512e8be
Commit
5512e8be
authored
Feb 17, 2021
by
Mathieu Giraud
Browse files
vidjil.cpp: pretty-print last file message
follows
4f37bccb
parent
601d2564
Changes
1
Hide whitespace changes
Inline
Side-by-side
algo/vidjil.cpp
View file @
5512e8be
...
...
@@ -1879,19 +1879,13 @@ int main (int argc, char **argv)
//$ Output .vidjil(.gz) json
std
::
ostream
*
out_json
=
new_ofgzstream
(
f_json
,
out_gz
);
std
::
ostream
*
out_json
=
new_ofgzstream
(
f_json
,
out_gz
,
!
no_vidjil
?
"
\t
(main output file, may be opened by the Vidjil web application)"
:
"
\t
(only metadata, no clone output)"
);
SampleOutputVidjil
*
outputVidjil
=
static_cast
<
SampleOutputVidjil
*>
(
&
output
);
outputVidjil
->
out
(
*
out_json
,
!
no_vidjil
);
if
(
!
no_vidjil
)
{
cout
<<
"
\t
(main output file, may be opened by the Vidjil web application)"
<<
endl
;
}
else
{
cout
<<
"
\t
(only metadata, no clone output)"
<<
endl
;
}
// In the case of ogzstream, delete actually calls .close() that is mandatory to make it work
delete
out_json
;
...
...
Write
Preview
Supports
Markdown
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