Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
f18192c6
Commit
f18192c6
authored
Aug 27, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Partially work around a picture link in libmpeg2.
It makes DVD (menu) usable (at least #1784, #1880).
parent
34e12d62
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
modules/codec/libmpeg2.c
modules/codec/libmpeg2.c
+7
-2
No files found.
modules/codec/libmpeg2.c
View file @
f18192c6
...
@@ -466,8 +466,13 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
...
@@ -466,8 +466,13 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
if
(
p_sys
->
p_info
->
discard_fbuf
&&
if
(
p_sys
->
p_info
->
discard_fbuf
&&
p_sys
->
p_info
->
discard_fbuf
->
id
)
p_sys
->
p_info
->
discard_fbuf
->
id
)
{
{
p_dec
->
pf_picture_unlink
(
p_dec
,
p_sys
->
p_info
->
discard_fbuf
->
id
);
picture_t
*
p_old
=
p_sys
->
p_info
->
discard_fbuf
->
id
;
if
(
p_old
->
i_status
==
RESERVED_PICTURE
&&
p_old
->
date
==
0
)
p_dec
->
pf_vout_buffer_del
(
p_dec
,
p_old
);
else
p_dec
->
pf_picture_unlink
(
p_dec
,
p_old
);
}
}
/* For still frames */
/* For still frames */
...
...
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