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
b88523c2
Commit
b88523c2
authored
Jul 15, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flashsvenc: convert some debug av_log() to av_dlog()
parent
3d5669c6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
flashsvenc.c
libavcodec/flashsvenc.c
+2
-2
No files found.
libavcodec/flashsvenc.c
View file @
b88523c2
...
@@ -187,7 +187,7 @@ static int encode_bitstream(FlashSVContext *s, AVFrame *p, uint8_t *buf,
...
@@ -187,7 +187,7 @@ static int encode_bitstream(FlashSVContext *s, AVFrame *p, uint8_t *buf,
bytestream_put_be16
(
&
ptr
,
(
unsigned
int
)
zsize
);
bytestream_put_be16
(
&
ptr
,
(
unsigned
int
)
zsize
);
buf_pos
+=
zsize
+
2
;
buf_pos
+=
zsize
+
2
;
//av_log(avctx, AV_LOG_ERROR
, "buf_pos = %d\n", buf_pos);
av_dlog
(
avctx
,
"buf_pos = %d
\n
"
,
buf_pos
);
}
else
{
}
else
{
pred_blocks
++
;
pred_blocks
++
;
bytestream_put_be16
(
&
ptr
,
0
);
bytestream_put_be16
(
&
ptr
,
0
);
...
@@ -266,7 +266,7 @@ static int flashsv_encode_frame(AVCodecContext *avctx, uint8_t *buf,
...
@@ -266,7 +266,7 @@ static int flashsv_encode_frame(AVCodecContext *avctx, uint8_t *buf,
p
->
pict_type
=
AV_PICTURE_TYPE_I
;
p
->
pict_type
=
AV_PICTURE_TYPE_I
;
p
->
key_frame
=
1
;
p
->
key_frame
=
1
;
s
->
last_key_frame
=
avctx
->
frame_number
;
s
->
last_key_frame
=
avctx
->
frame_number
;
av_
log
(
avctx
,
AV_LOG_DEBUG
,
"Inserting key
frame at frame %d
\n
"
,
avctx
->
frame_number
);
av_
dlog
(
avctx
,
"Inserting key
frame at frame %d
\n
"
,
avctx
->
frame_number
);
}
else
{
}
else
{
p
->
pict_type
=
AV_PICTURE_TYPE_P
;
p
->
pict_type
=
AV_PICTURE_TYPE_P
;
p
->
key_frame
=
0
;
p
->
key_frame
=
0
;
...
...
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