Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
df0bb26a
Commit
df0bb26a
authored
Jan 12, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: remove disabled FF_API_TIMESTAMP cruft
parent
3bbfd302
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
30 deletions
+0
-30
avformat.h
libavformat/avformat.h
+0
-7
dvenc.c
libavformat/dvenc.c
+0
-5
gxfenc.c
libavformat/gxfenc.c
+0
-5
movenc.c
libavformat/movenc.c
+0
-5
mxfenc.c
libavformat/mxfenc.c
+0
-5
version.h
libavformat/version.h
+0
-3
No files found.
libavformat/avformat.h
View file @
df0bb26a
...
...
@@ -809,13 +809,6 @@ typedef struct AVFormatContext {
char
filename
[
1024
];
/**< input or output filename */
/* stream info */
#if FF_API_TIMESTAMP
/**
* @deprecated use 'creation_time' metadata tag instead
*/
attribute_deprecated
int64_t
timestamp
;
#endif
int
ctx_flags
;
/**< Format-specific flags, see AVFMTCTX_xx */
#if FF_API_REORDER_PRIVATE
/* private data for pts handling (do not modify directly). */
...
...
libavformat/dvenc.c
View file @
df0bb26a
...
...
@@ -338,11 +338,6 @@ static DVMuxContext* dv_init_mux(AVFormatContext* s)
c
->
frames
=
0
;
c
->
has_audio
=
0
;
c
->
has_video
=
0
;
#if FF_API_TIMESTAMP
if
(
s
->
timestamp
)
c
->
start_time
=
s
->
timestamp
;
else
#endif
if
(
t
=
av_dict_get
(
s
->
metadata
,
"creation_time"
,
NULL
,
0
))
c
->
start_time
=
ff_iso8601_to_unix_time
(
t
->
value
);
...
...
libavformat/gxfenc.c
View file @
df0bb26a
...
...
@@ -399,11 +399,6 @@ static int gxf_write_umf_material_description(AVFormatContext *s)
AVDictionaryEntry
*
t
;
uint32_t
timecode
;
#if FF_API_TIMESTAMP
if
(
s
->
timestamp
)
timestamp
=
s
->
timestamp
;
else
#endif
if
(
t
=
av_dict_get
(
s
->
metadata
,
"creation_time"
,
NULL
,
0
))
timestamp
=
ff_iso8601_to_unix_time
(
t
->
value
);
...
...
libavformat/movenc.c
View file @
df0bb26a
...
...
@@ -2807,11 +2807,6 @@ static int mov_write_header(AVFormatContext *s)
if
(
!
(
mov
->
flags
&
FF_MOV_FLAG_EMPTY_MOOV
))
mov_write_mdat_tag
(
pb
,
mov
);
#if FF_API_TIMESTAMP
if
(
s
->
timestamp
)
mov
->
time
=
s
->
timestamp
;
else
#endif
if
(
t
=
av_dict_get
(
s
->
metadata
,
"creation_time"
,
NULL
,
0
))
mov
->
time
=
ff_iso8601_to_unix_time
(
t
->
value
);
if
(
mov
->
time
)
...
...
libavformat/mxfenc.c
View file @
df0bb26a
...
...
@@ -1519,11 +1519,6 @@ static int mxf_write_header(AVFormatContext *s)
sc
->
order
=
AV_RB32
(
sc
->
track_essence_element_key
+
12
);
}
#if FF_API_TIMESTAMP
if
(
s
->
timestamp
)
timestamp
=
s
->
timestamp
;
else
#endif
if
(
t
=
av_dict_get
(
s
->
metadata
,
"creation_time"
,
NULL
,
0
))
timestamp
=
ff_iso8601_to_unix_time
(
t
->
value
);
if
(
timestamp
)
...
...
libavformat/version.h
View file @
df0bb26a
...
...
@@ -47,9 +47,6 @@
* Those FF_API_* defines are not part of public API.
* They may change, break or disappear at any time.
*/
#ifndef FF_API_TIMESTAMP
#define FF_API_TIMESTAMP (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_FILESIZE
#define FF_API_FILESIZE (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
...
...
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