mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 23:32:26 +00:00
ffmjpeg yv12 422 fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4751 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9915772774
commit
b3b3eb2a9a
@ -1024,6 +1024,10 @@ if(verbose>1){
|
||||
mpi->stride[0]=lavc_picture.linesize[0];
|
||||
mpi->stride[1]=lavc_picture.linesize[1];
|
||||
mpi->stride[2]=lavc_picture.linesize[2];
|
||||
if(lavc_context.pix_fmt==PIX_FMT_YUV422P){
|
||||
mpi->stride[1]*=2;
|
||||
mpi->stride[2]*=2;
|
||||
}
|
||||
|
||||
//stride[1]=stride[2]=0;
|
||||
//stride[0]/=2;
|
||||
|
Loading…
Reference in New Issue
Block a user