mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 04:58:14 +00:00
fix bug when size is not the expected one
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@126 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
7e21dbc0e8
commit
ada8ab2409
1 changed files with 1 additions and 1 deletions
|
|
@ -360,8 +360,8 @@ VideoStream * video_preview_start(MSWebCam *device, MSVideoSize vsize){
|
|||
|
||||
/* configure the filters */
|
||||
ms_filter_call_method(stream->source,MS_FILTER_SET_VIDEO_SIZE,&vsize);
|
||||
ms_filter_call_method(stream->source,MS_FILTER_GET_VIDEO_SIZE,&vsize);
|
||||
ms_filter_call_method(stream->source,MS_FILTER_GET_PIX_FMT,&format);
|
||||
ms_filter_call_method(stream->source,MS_FILTER_GET_VIDEO_SIZE,&vsize);
|
||||
if (format==MS_MJPEG){
|
||||
stream->pixconv=ms_filter_new(MS_MJPEG_DEC_ID);
|
||||
}else{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue