mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-21 15:20:02 +01:00
Fix small bug in VIMS 330 (wrong stride)
git-svn-id: svn://code.dyne.org/veejay/trunk@353 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
@@ -306,7 +306,7 @@ int vj_picture_save( void *picture, uint8_t **frame, int w, int h , int fmt )
|
||||
}
|
||||
|
||||
pict2.data[0] = (uint8_t*) gdk_pixbuf_get_pixels( img_ );;
|
||||
pict2.linesize[0] = w;
|
||||
pict2.linesize[0] = w * 3;
|
||||
|
||||
img_convert( &pict2, PIX_FMT_RGB24, &pict1, (fmt == 1 ? PIX_FMT_YUV420P:
|
||||
PIX_FMT_YUV422P),
|
||||
|
||||
Reference in New Issue
Block a user