Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
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
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
66e9d2f4
Commit
66e9d2f4
authored
Jan 31, 2016
by
Derek Buitenhuis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avutil: Add GOP timecode frame side data
Signed-off-by:
Derek Buitenhuis
<
derek.buitenhuis@gmail.com
>
parent
e3a125c9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
3 deletions
+12
-3
APIchanges
doc/APIchanges
+3
-0
frame.c
libavutil/frame.c
+1
-0
frame.h
libavutil/frame.h
+6
-1
version.h
libavutil/version.h
+2
-2
No files found.
doc/APIchanges
View file @
66e9d2f4
...
...
@@ -15,6 +15,9 @@ libavutil: 2015-08-28
API changes, most recent first:
2016-01-31 - xxxxxxx - lavu 55.17.100
Add AV_FRAME_DATA_GOP_TIMECODE for exporting MPEG1/2 GOP timecodes.
2016-01-01 - xxxxxxx - lavc 57.21.100 / 57.12.0 - avcodec.h
Add AVCodecDescriptor.profiles and avcodec_profile_name().
...
...
libavutil/frame.c
View file @
66e9d2f4
...
...
@@ -733,6 +733,7 @@ const char *av_frame_side_data_name(enum AVFrameSideDataType type)
case
AV_FRAME_DATA_SKIP_SAMPLES
:
return
"Skip samples"
;
case
AV_FRAME_DATA_AUDIO_SERVICE_TYPE
:
return
"Audio service type"
;
case
AV_FRAME_DATA_MASTERING_DISPLAY_METADATA
:
return
"Mastering display metadata"
;
case
AV_FRAME_DATA_GOP_TIMECODE
:
return
"GOP timecode"
;
}
return
NULL
;
}
libavutil/frame.h
View file @
66e9d2f4
...
...
@@ -116,7 +116,12 @@ enum AVFrameSideDataType {
* an AVMasteringDisplayMetadata type and contains information about the
* mastering display color volume.
*/
AV_FRAME_DATA_MASTERING_DISPLAY_METADATA
AV_FRAME_DATA_MASTERING_DISPLAY_METADATA
,
/**
* The GOP timecode in 25 bit timecode format. Data format is 64-bit integer.
* This is set on the first frame of a GOP that has a temporal reference of 0.
*/
AV_FRAME_DATA_GOP_TIMECODE
};
enum
AVActiveFormatDescription
{
...
...
libavutil/version.h
View file @
66e9d2f4
...
...
@@ -64,8 +64,8 @@
*/
#define LIBAVUTIL_VERSION_MAJOR 55
#define LIBAVUTIL_VERSION_MINOR 1
6
#define LIBAVUTIL_VERSION_MICRO 10
1
#define LIBAVUTIL_VERSION_MINOR 1
7
#define LIBAVUTIL_VERSION_MICRO 10
0
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
LIBAVUTIL_VERSION_MINOR, \
...
...
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