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
4fb3efd2
Commit
4fb3efd2
authored
May 20, 2015
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/mov: Use AVCOL_SPC constants when checking color_space.
Suggested-by: Ronald Bultje
parent
c4f86419
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
movenc.c
libavformat/movenc.c
+3
-3
No files found.
libavformat/movenc.c
View file @
4fb3efd2
...
...
@@ -1607,10 +1607,10 @@ static int mov_write_colr_tag(AVIOContext *pb, MOVTrack *track)
default:
avio_wb16
(
pb
,
2
);
}
switch
(
track
->
enc
->
colorspace
)
{
case
AVCOL_
TR
C_BT709
:
avio_wb16
(
pb
,
1
);
break
;
case
AVCOL_
SP
C_BT709
:
avio_wb16
(
pb
,
1
);
break
;
case
AVCOL_SPC_BT470BG
:
case
AVCOL_
PRI
_SMPTE170M
:
avio_wb16
(
pb
,
6
);
break
;
case
AVCOL_
PRI
_SMPTE240M
:
avio_wb16
(
pb
,
7
);
break
;
case
AVCOL_
SPC
_SMPTE170M
:
avio_wb16
(
pb
,
6
);
break
;
case
AVCOL_
SPC
_SMPTE240M
:
avio_wb16
(
pb
,
7
);
break
;
default:
avio_wb16
(
pb
,
2
);
}
...
...
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