Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
ffworker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Video AG Infrastruktur
ffworker
Commits
9ae62a73
Commit
9ae62a73
authored
7 years ago
by
Julian Rother
Browse files
Options
Downloads
Patches
Plain Diff
extract-xmp: Removed duration field from output
parent
d64fd2da
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
extract-xmp.c
+4
-5
4 additions, 5 deletions
extract-xmp.c
with
4 additions
and
5 deletions
extract-xmp.c
+
4
−
5
View file @
9ae62a73
...
@@ -84,11 +84,10 @@ int main(int argc, char *argv[])
...
@@ -84,11 +84,10 @@ int main(int argc, char *argv[])
job_failed
(
"Opening input file failed: %s"
,
av_err2str
(
err
));
job_failed
(
"Opening input file failed: %s"
,
av_err2str
(
err
));
avformat_find_stream_info
(
demux
,
0
);
avformat_find_stream_info
(
demux
,
0
);
if
(
tag
=
av_dict_get
(
demux
->
metadata
,
"xmp"
,
0
,
0
))
if
(
tag
=
av_dict_get
(
demux
->
metadata
,
"xmp"
,
0
,
0
))
ping_job
(
jobid
,
"finished"
,
"{
\"
xmp_chapters
\"
: %s,
\"
duration
\"
: %f,
\"
log
\"
:
\"
%s
\"
}"
,
ping_job
(
jobid
,
"finished"
,
"{
\"
xmp_chapters
\"
: %s,
\"
log
\"
:
\"
%s
\"
}"
,
get_xmpchapters
(
tag
->
value
),
demux
->
duration
*
av_q2d
(
AV_TIME_BASE_Q
),
get_xmpchapters
(
tag
->
value
),
jescape
(
get_avlogbuf
()));
jescape
(
get_avlogbuf
()));
else
else
ping_job
(
jobid
,
"finished"
,
"{
\"
duration
\"
:
%f
,
\"
log
\"
:
\"
%s
\"
}"
,
ping_job
(
jobid
,
"finished"
,
"{
\"
xmp_chapters
\"
:
[]
,
\"
log
\"
:
\"
%s
\"
}"
,
demux
->
duration
*
av_q2d
(
AV_TIME_BASE_Q
),
jescape
(
get_avlogbuf
()));
jescape
(
get_avlogbuf
()));
return
0
;
return
0
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment