Changeset 105:ec82b860100d in mediastreamer2


Ignore:
Timestamp:
Oct 20, 2008 2:17:23 PM (5 years ago)
Author:
smorlat <smorlat@…>
Branch:
default
Message:

new winvideo2 is working well.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@108 3f6dc0c8-ddfe-455d-9043-3cd528dc4637

Location:
linphone/mediastreamer2/src
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • linphone/mediastreamer2/src/Makefile.am

    r94 r105  
    11 
    2 EXTRA_DIST= winsnd2.c winsnd.c winvideo.c winvideods.c wincevideods.c dxfilter.h dxfilter.cpp msfileplayer_win.c msfilerec_win.c winsndds.cpp nowebcamCIF.jpg winsnd3.c vfw-missing.h 
     2EXTRA_DIST= winsnd2.c winsnd.c winvideo.c  \ 
     3        winvideods.c wincevideods.c dxfilter.h dxfilter.cpp \ 
     4        msfileplayer_win.c msfilerec_win.c winsndds.cpp nowebcamCIF.jpg winsnd3.c vfw-missing.h \ 
     5        winvideo2.c 
    36 
    47BUILT_SOURCES=alldescs.h 
  • linphone/mediastreamer2/src/pixconv.c

    r103 r105  
    137137                                NULL, NULL, NULL); 
    138138                        } 
     139                        if (s->in_fmt==PIX_FMT_BGR24){ 
     140                                inbuf.data[0]+=inbuf.linesize[0]*(s->size.height-1); 
     141                                inbuf.linesize[0]=-inbuf.linesize[0]; 
     142                        } 
    139143                        if (sws_scale(s->sws_ctx,inbuf.data,inbuf.linesize, 0, 
    140144                                s->size.height, s->outbuf.planes, s->outbuf.strides)<0){ 
Note: See TracChangeset for help on using the changeset viewer.