Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
e2ec60ce
Commit
e2ec60ce
authored
Jan 09, 2011
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed picture_fifo_Pop/picture_pool_Get to set picture_t::p_next to NULL.
parent
b31dd1a4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
1 deletion
+2
-1
src/misc/picture_fifo.c
src/misc/picture_fifo.c
+1
-0
src/misc/picture_pool.c
src/misc/picture_pool.c
+1
-0
src/video_output/video_output.c
src/video_output/video_output.c
+0
-1
No files found.
src/misc/picture_fifo.c
View file @
e2ec60ce
...
...
@@ -62,6 +62,7 @@ static picture_t *PictureFifoPop(picture_fifo_t *fifo)
fifo
->
first
=
picture
->
p_next
;
if
(
!
fifo
->
first
)
fifo
->
last_ptr
=
&
fifo
->
first
;
picture
->
p_next
=
NULL
;
}
return
picture
;
}
...
...
src/misc/picture_pool.c
View file @
e2ec60ce
...
...
@@ -223,6 +223,7 @@ picture_t *picture_pool_Get(picture_pool_t *pool)
continue
;
/* */
picture
->
p_next
=
NULL
;
picture
->
p_release_sys
->
tick
=
pool
->
tick
++
;
picture_Hold
(
picture
);
return
picture
;
...
...
src/video_output/video_output.c
View file @
e2ec60ce
...
...
@@ -401,7 +401,6 @@ picture_t *vout_GetPicture(vout_thread_t *vout)
picture_t
*
picture
=
picture_pool_Get
(
vout
->
p
->
decoder_pool
);
if
(
picture
)
{
picture_Reset
(
picture
);
picture
->
p_next
=
NULL
;
VideoFormatCopyCropAr
(
&
picture
->
format
,
&
vout
->
p
->
original
);
}
vlc_mutex_unlock
(
&
vout
->
p
->
picture_lock
);
...
...
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