Changeset 34:0a235bea9540 in mediastreamer2
- Timestamp:
- Sep 23, 2008 10:27:30 PM (5 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
linphone/mediastreamer2/src/winvideo.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
linphone/mediastreamer2/src/winvideo.c
r29 r34 87 87 88 88 static bool_t try_format(V4wState *s, BITMAPINFO *videoformat, MSPixFmt pixfmt){ 89 capGetVideoFormat(s->capvideo, videoformat, sizeof(BITMAPINFO)); 90 videoformat->bmiHeader.biSizeImage = 0; 91 videoformat->bmiHeader.biWidth = s->vsize.width; 92 videoformat->bmiHeader.biHeight = s->vsize.height; 89 93 switch(pixfmt){ 90 94 case MS_YUV420P: … … 174 178 capSetUserData(s->capvideo, s); 175 179 capGetVideoFormat(s->capvideo, &videoformat, sizeof(BITMAPINFO)); 176 177 videoformat.bmiHeader.biSizeImage = 0;178 videoformat.bmiHeader.biWidth = s->vsize.width;179 videoformat.bmiHeader.biHeight = s->vsize.height;180 180 /* "orig planes = " disp->videoformat.bmiHeader.biPlanes */ 181 181 /* "orig bitcount = " disp->videoformat.bmiHeader.biBitCount */ … … 507 507 mblk_set_timestamp_info(om,timestamp); 508 508 ms_queue_put(obj->outputs[0],om); 509 /*ms_message("picture sent");*/510 509 } 511 510 s->frame_count++;
Note: See TracChangeset
for help on using the changeset viewer.
