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
8e937a4a
Commit
8e937a4a
authored
Jun 27, 2003
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2x100l
Originally committed as revision 1989 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
cb482d25
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mpeg12.c
libavcodec/mpeg12.c
+2
-2
mpegvideo.c
libavcodec/mpegvideo.c
+1
-1
No files found.
libavcodec/mpeg12.c
View file @
8e937a4a
...
...
@@ -2023,14 +2023,14 @@ static int slice_end(AVCodecContext *avctx, AVFrame *pict)
MPV_frame_end
(
s
);
if
(
s
->
pict_type
==
B_TYPE
||
s
->
low_delay
)
{
*
pict
=
*
(
AVFrame
*
)
&
s
->
current_picture
;
*
pict
=
*
(
AVFrame
*
)
s
->
current_picture_ptr
;
ff_print_debug_info
(
s
,
s
->
current_picture_ptr
);
}
else
{
s
->
picture_number
++
;
/* latency of 1 frame for I and P frames */
/* XXX: use another variable than picture_number */
if
(
s
->
last_picture_ptr
!=
NULL
)
{
*
pict
=
*
(
AVFrame
*
)
&
s
->
last_picture
;
*
pict
=
*
(
AVFrame
*
)
s
->
last_picture_ptr
;
ff_print_debug_info
(
s
,
s
->
last_picture_ptr
);
}
}
...
...
libavcodec/mpegvideo.c
View file @
8e937a4a
...
...
@@ -1025,7 +1025,7 @@ void MPV_frame_end(MpegEncContext *s)
{
int
i
;
/* draw edge for correct motion prediction if outside */
if
(
s
->
codec_id
!=
CODEC_ID_SVQ1
){
if
(
s
->
codec_id
!=
CODEC_ID_SVQ1
&&
s
->
codec_id
!=
CODEC_ID_MPEG1VIDEO
){
if
(
s
->
pict_type
!=
B_TYPE
&&
!
s
->
intra_only
&&
!
(
s
->
flags
&
CODEC_FLAG_EMU_EDGE
))
{
draw_edges
(
s
->
current_picture
.
data
[
0
],
s
->
linesize
,
s
->
h_edge_pos
,
s
->
v_edge_pos
,
EDGE_WIDTH
);
draw_edges
(
s
->
current_picture
.
data
[
1
],
s
->
uvlinesize
,
s
->
h_edge_pos
>>
1
,
s
->
v_edge_pos
>>
1
,
EDGE_WIDTH
/
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