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
0a69ecb8
Commit
0a69ecb8
authored
Apr 22, 2016
by
Gautier Pelloux-Prayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
videostream.c: fix video preview on iOS where jpegwriter is not available
parent
c2c47bc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
videostream.c
src/voip/videostream.c
+7
-5
No files found.
src/voip/videostream.c
View file @
0a69ecb8
...
...
@@ -1606,17 +1606,19 @@ void video_preview_start(VideoPreview *stream, MSWebCam *device) {
if
(
stream
->
pixconv
)
{
ms_connection_helper_link
(
&
ch
,
stream
->
pixconv
,
0
,
0
);
}
if
(
stream
->
tee
)
{
ms_connection_helper_link
(
&
ch
,
stream
->
tee
,
0
,
0
);
}
if
(
stream
->
output2
)
{
if
(
stream
->
preview_window_id
!=
0
)
{
video_stream_set_native_preview_window_id
(
stream
,
stream
->
preview_window_id
);
}
ms_filter_link
(
stream
->
tee
,
1
,
stream
->
output2
,
0
);
}
if
(
stream
->
local_jpegwriter
)
{
if
(
stream
->
tee
)
{
ms_connection_helper_link
(
&
ch
,
stream
->
tee
,
0
,
0
);
ms_filter_link
(
stream
->
tee
,
1
,
stream
->
output2
,
0
);
ms_filter_link
(
stream
->
tee
,
2
,
stream
->
local_jpegwriter
,
0
);
}
else
{
ms_filter_link
(
stream
->
pixconv
,
0
,
stream
->
output2
,
0
);
}
/* create the ticker */
...
...
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