diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-02 22:55:54 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-02 22:55:54 +0000 |
commit | d010698e430fd93744e560799a51b15abf14247e (patch) | |
tree | dff1f2de823bf1135fa83a406e1c600da3477f8b /libmpcodecs/vd_ffmpeg.c | |
parent | 9e7622c09fe572ced34d47650231029a34e0d70a (diff) | |
download | mpv-d010698e430fd93744e560799a51b15abf14247e.tar.bz2 mpv-d010698e430fd93744e560799a51b15abf14247e.tar.xz |
- some reorder/cleanup of mp_image flags
- support for _ACCEPT_ALIGNED_STRIDE && _PREFER_ALIGNED_STRIDE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6876 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vd_ffmpeg.c')
-rw-r--r-- | libmpcodecs/vd_ffmpeg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c index 61c3856ddd..c210b2c517 100644 --- a/libmpcodecs/vd_ffmpeg.c +++ b/libmpcodecs/vd_ffmpeg.c @@ -302,8 +302,7 @@ static void get_buffer(struct AVCodecContext *avctx, int width, int height, int sh_video_t * sh = avctx->opaque; vd_ffmpeg_ctx *ctx = sh->context; mp_image_t* mpi=NULL; -// int flags= MP_IMGFLAG_ALIGNED_STRIDE; - int flags= MP_IMGFLAG_ACCEPT_STRIDE; + int flags= MP_IMGFLAG_ACCEPT_STRIDE | MP_IMGFLAG_PREFER_ALIGNED_STRIDE; int type= MP_IMGTYPE_IPB; int align=15; |