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
2f9b33af
Commit
2f9b33af
authored
Nov 16, 2013
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
transcode: don't crash with threads with freeing pictures all over
parent
45df8a64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/stream_out/transcode/video.c
modules/stream_out/transcode/video.c
+2
-2
No files found.
modules/stream_out/transcode/video.c
View file @
2f9b33af
...
...
@@ -728,7 +728,7 @@ static void OutputFrame( sout_stream_sys_t *p_sys, picture_t *p_pic, sout_stream
if
(
p_sys
->
i_threads
)
{
if
(
unlikely
(
p_sys
->
b_master_sync
&&
b_need_duplicate
)
)
if
(
p_sys
->
b_master_sync
)
{
p_pic2
=
video_new_buffer_encoder
(
id
->
p_encoder
);
if
(
likely
(
p_pic2
!=
NULL
)
)
...
...
@@ -772,7 +772,7 @@ static void OutputFrame( sout_stream_sys_t *p_sys, picture_t *p_pic, sout_stream
(
date_Get
(
&
id
->
interpolated_pts
)
);
}
if
(
p_sys
->
i_threads
>
0
)
if
(
p_sys
->
i_threads
&&
p_sys
->
b_master_sync
&&
p_pic2
)
picture_Release
(
p_pic2
);
else
picture_Release
(
p_pic
);
...
...
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