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
6216b478
Commit
6216b478
authored
Sep 18, 2016
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/sheervideo: print internal format in debug log
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
260de8a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
sheervideo.c
libavcodec/sheervideo.c
+3
-0
No files found.
libavcodec/sheervideo.c
View file @
6216b478
...
...
@@ -2879,6 +2879,7 @@ static int decode_frame(AVCodecContext *avctx,
AVFrame
*
p
=
data
;
GetBitContext
gb
;
unsigned
format
;
char
format_str
[
16
];
int
ret
;
if
(
avpkt
->
size
<=
20
)
...
...
@@ -2890,6 +2891,8 @@ static int decode_frame(AVCodecContext *avctx,
s
->
alt
=
0
;
format
=
AV_RL32
(
avpkt
->
data
+
16
);
av_get_codec_tag_string
(
format_str
,
sizeof
(
format_str
),
format
);
av_log
(
avctx
,
AV_LOG_DEBUG
,
"format: %s
\n
"
,
format_str
);
switch
(
format
)
{
case
MKTAG
(
' '
,
'R'
,
'G'
,
'B'
):
avctx
->
pix_fmt
=
AV_PIX_FMT_RGB0
;
...
...
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