Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
e44eb179
Commit
e44eb179
authored
Jun 15, 2011
by
Jean-Paul Saman
Committed by
Jean-Paul Saman
Aug 12, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
codec/avcodec/vaapi.c: reset surface refcount
Force refcount to one in vlc_va_Get().
parent
da328ccc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/codec/avcodec/vaapi.c
modules/codec/avcodec/vaapi.c
+1
-1
No files found.
modules/codec/avcodec/vaapi.c
View file @
e44eb179
...
...
@@ -482,7 +482,7 @@ static int Get( vlc_va_t *p_external, AVFrame *p_ff )
/* NOTE: when the surface is in use and not consumed by vout vaapi-x11,
* then p_surface->i_refcount can be greater then 0. Thus always increment.
*/
p_surface
->
i_refcount
++
;
p_surface
->
i_refcount
=
1
;
p_surface
->
i_order
=
p_va
->
i_surface_order
++
;
/* */
...
...
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