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
0674d193
Commit
0674d193
authored
Nov 14, 2016
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/hevc_ps: Use correct pix_fmt for 10bit 4:0:0.
Fixes the second sample from ticket #5544.
parent
b5177c70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
hevc_ps.c
libavcodec/hevc_ps.c
+1
-1
No files found.
libavcodec/hevc_ps.c
View file @
0674d193
...
...
@@ -790,7 +790,7 @@ static int map_pixel_format(AVCodecContext *avctx, HEVCSPS *sps)
if
(
sps
->
chroma_format_idc
==
3
)
sps
->
pix_fmt
=
AV_PIX_FMT_YUV444P9
;
break
;
case
10
:
if
(
sps
->
chroma_format_idc
==
0
)
sps
->
pix_fmt
=
AV_PIX_FMT_GRAY1
6
;
if
(
sps
->
chroma_format_idc
==
0
)
sps
->
pix_fmt
=
AV_PIX_FMT_GRAY1
0
;
if
(
sps
->
chroma_format_idc
==
1
)
sps
->
pix_fmt
=
AV_PIX_FMT_YUV420P10
;
if
(
sps
->
chroma_format_idc
==
2
)
sps
->
pix_fmt
=
AV_PIX_FMT_YUV422P10
;
if
(
sps
->
chroma_format_idc
==
3
)
sps
->
pix_fmt
=
AV_PIX_FMT_YUV444P10
;
...
...
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