Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mediastreamer2
Commits
cd5b40be
Commit
cd5b40be
authored
Sep 27, 2010
by
Simon Morlat
Browse files
fix bug in video_stream_change_camera()
parent
bc372212
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/videostream.c
src/videostream.c
+3
-0
No files found.
src/videostream.c
View file @
cd5b40be
...
...
@@ -403,6 +403,9 @@ void video_stream_change_camera(VideoStream *stream, MSWebCam *cam){
/*re create new ones and configure them*/
stream
->
source
=
ms_web_cam_create_reader
(
cam
);
configure_video_source
(
stream
);
ms_filter_link
(
stream
->
source
,
0
,
stream
->
pixconv
,
0
);
ms_filter_link
(
stream
->
pixconv
,
0
,
stream
->
sizeconv
,
0
);
ms_filter_link
(
stream
->
sizeconv
,
0
,
stream
->
tee
,
0
);
ms_ticker_attach
(
stream
->
ticker
,
stream
->
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