Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
5c20bc8f
Commit
5c20bc8f
authored
Feb 06, 2016
by
Marton Balint
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/gxfenc: use ff_parse_creation_time_metadata
Signed-off-by:
Marton Balint
<
cus@passwd.hu
>
parent
83b01ed2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
gxfenc.c
libavformat/gxfenc.c
+1
-3
No files found.
libavformat/gxfenc.c
View file @
5c20bc8f
...
@@ -436,13 +436,11 @@ static int gxf_write_umf_material_description(AVFormatContext *s)
...
@@ -436,13 +436,11 @@ static int gxf_write_umf_material_description(AVFormatContext *s)
AVIOContext
*
pb
=
s
->
pb
;
AVIOContext
*
pb
=
s
->
pb
;
int
timecode_base
=
gxf
->
time_base
.
den
==
60000
?
60
:
50
;
int
timecode_base
=
gxf
->
time_base
.
den
==
60000
?
60
:
50
;
int64_t
timestamp
=
0
;
int64_t
timestamp
=
0
;
AVDictionaryEntry
*
t
;
uint64_t
nb_fields
;
uint64_t
nb_fields
;
uint32_t
timecode_in
;
// timecode at mark in
uint32_t
timecode_in
;
// timecode at mark in
uint32_t
timecode_out
;
// timecode at mark out
uint32_t
timecode_out
;
// timecode at mark out
if
(
t
=
av_dict_get
(
s
->
metadata
,
"creation_time"
,
NULL
,
0
))
ff_parse_creation_time_metadata
(
s
,
&
timestamp
,
1
);
timestamp
=
ff_iso8601_to_unix_time
(
t
->
value
);
timecode_in
=
GXF_TIMECODE
(
gxf
->
tc
.
color
,
gxf
->
tc
.
drop
,
timecode_in
=
GXF_TIMECODE
(
gxf
->
tc
.
color
,
gxf
->
tc
.
drop
,
gxf
->
tc
.
hh
,
gxf
->
tc
.
mm
,
gxf
->
tc
.
hh
,
gxf
->
tc
.
mm
,
...
...
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