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
21bf6d7a
Commit
21bf6d7a
authored
May 08, 2011
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegvideo: use av_get_picture_type_char() in ff_print_debug_info()
parent
1929807b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
mpegvideo.c
libavcodec/mpegvideo.c
+2
-9
No files found.
libavcodec/mpegvideo.c
View file @
21bf6d7a
...
...
@@ -1319,15 +1319,8 @@ void ff_print_debug_info(MpegEncContext *s, AVFrame *pict){
if
(
s
->
avctx
->
debug
&
(
FF_DEBUG_SKIP
|
FF_DEBUG_QP
|
FF_DEBUG_MB_TYPE
)){
int
x
,
y
;
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"New frame, type: "
);
switch
(
pict
->
pict_type
)
{
case
AV_PICTURE_TYPE_I
:
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"I
\n
"
);
break
;
case
AV_PICTURE_TYPE_P
:
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"P
\n
"
);
break
;
case
AV_PICTURE_TYPE_B
:
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"B
\n
"
);
break
;
case
AV_PICTURE_TYPE_S
:
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"S
\n
"
);
break
;
case
AV_PICTURE_TYPE_SI
:
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"SI
\n
"
);
break
;
case
AV_PICTURE_TYPE_SP
:
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"SP
\n
"
);
break
;
}
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"New frame, type: %c
\n
"
,
av_get_picture_type_char
(
pict
->
pict_type
));
for
(
y
=
0
;
y
<
s
->
mb_height
;
y
++
){
for
(
x
=
0
;
x
<
s
->
mb_width
;
x
++
){
if
(
s
->
avctx
->
debug
&
FF_DEBUG_SKIP
){
...
...
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