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
91c5dd59
Commit
91c5dd59
authored
Jul 08, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/input/decoder.c: better pictures leakage detection.
parent
1e9c67a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
src/input/decoder.c
src/input/decoder.c
+7
-2
No files found.
src/input/decoder.c
View file @
91c5dd59
...
...
@@ -783,13 +783,18 @@ static picture_t *vout_new_buffer( decoder_t *p_dec )
for
(
i_pic
=
0
;
i_pic
<
p_dec
->
p_owner
->
p_vout
->
render
.
i_pictures
;
i_pic
++
)
{
if
(
p_pic
->
i_status
==
READY_PICTURE
&&
i_ready_pic
++
>
0
)
break
;
if
(
p_pic
->
i_status
==
READY_PICTURE
)
{
if
(
i_ready_pic
++
>
0
)
break
;
else
continue
;
}
if
(
p_pic
->
i_status
!=
DISPLAYED_PICTURE
&&
p_pic
->
i_status
!=
RESERVED_PICTURE
&&
p_pic
->
i_status
!=
READY_PICTURE
)
break
;
if
(
!
p_pic
->
i_refcount
)
break
;
if
(
!
p_pic
->
i_refcount
&&
p_pic
->
i_status
!=
RESERVED_PICTURE
)
break
;
}
if
(
i_pic
==
p_dec
->
p_owner
->
p_vout
->
render
.
i_pictures
)
{
...
...
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