Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mediastreamer2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
mediastreamer2
Commits
9585bf93
Commit
9585bf93
authored
Apr 25, 2016
by
Gautier Pelloux-Prayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
videostream.c: fix crash in preview uninit
parent
356cd916
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
videostream.c
src/voip/videostream.c
+8
-6
No files found.
src/voip/videostream.c
View file @
9585bf93
...
...
@@ -1640,12 +1640,14 @@ static MSFilter* _video_preview_stop( VideoPreview* stream, bool_t keep_source)
}
if
(
stream
->
tee
)
{
ms_connection_helper_unlink
(
&
ch
,
stream
->
tee
,
0
,
0
);
}
if
(
stream
->
output2
)
{
ms_filter_unlink
(
stream
->
tee
,
1
,
stream
->
output2
,
0
);
}
if
(
stream
->
local_jpegwriter
)
{
ms_filter_unlink
(
stream
->
tee
,
2
,
stream
->
local_jpegwriter
,
0
);
if
(
stream
->
output2
)
{
ms_filter_unlink
(
stream
->
tee
,
1
,
stream
->
output2
,
0
);
}
if
(
stream
->
local_jpegwriter
)
{
ms_filter_unlink
(
stream
->
tee
,
2
,
stream
->
local_jpegwriter
,
0
);
}
}
else
{
ms_connection_helper_unlink
(
&
ch
,
stream
->
output2
,
0
,
0
);
}
if
(
keep_source
)
{
...
...
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