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
9f410e42
Commit
9f410e42
authored
May 04, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed picture clean up when closing vout.
parent
776b8264
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
16 deletions
+9
-16
src/video_output/video_output.c
src/video_output/video_output.c
+9
-16
No files found.
src/video_output/video_output.c
View file @
9f410e42
...
...
@@ -624,22 +624,6 @@ static int ThreadInit(vout_thread_t *vout)
return
VLC_SUCCESS
;
}
/*****************************************************************************
* CleanThread: clean up after InitThread
*****************************************************************************
* This function is called after a sucessful
* initialization. It frees all resources allocated by InitThread.
* XXX You have to enter it with change_lock taken.
*****************************************************************************/
static
void
ThreadClean
(
vout_thread_t
*
vout
)
{
/* Destroy translation tables */
if
(
!
vout
->
p
->
b_error
)
{
picture_fifo_Flush
(
vout
->
p
->
decoder_fifo
,
INT64_MAX
,
false
);
vout_EndWrapper
(
vout
);
}
}
static
int
ThreadDisplayPicture
(
vout_thread_t
*
vout
,
bool
now
,
mtime_t
*
deadline
)
{
...
...
@@ -1004,6 +988,15 @@ static void ThreadChangeZoom(vout_thread_t *vout, int num, int den)
vout_SetDisplayZoom
(
vout
->
p
->
display
.
vd
,
num
,
den
);
}
static
void
ThreadClean
(
vout_thread_t
*
vout
)
{
/* Destroy translation tables */
if
(
!
vout
->
p
->
b_error
)
{
ThreadFlush
(
vout
,
true
,
INT64_MAX
);
vout_EndWrapper
(
vout
);
}
}
/*****************************************************************************
* Thread: video output thread
*****************************************************************************
...
...
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