diff options
author | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-06 02:22:46 +0000 |
---|---|---|
committer | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-06 02:22:46 +0000 |
commit | b3ac02ee7d60d925e6313d1957cf5bea79d6e18c (patch) | |
tree | b8c2c3ad7f07028a45f04562b70ac7e7753d2796 /dec_video.c | |
parent | 67b1c950adeae2787e269c5511e8499d4bb4faba (diff) |
DivX5 Build support, not usefull because current divx5linux from avifile.sf.net only decodes black/green image
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4945 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'dec_video.c')
-rw-r--r-- | dec_video.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dec_video.c b/dec_video.c index 94b62fa3f4..0f81cd54f8 100644 --- a/dec_video.c +++ b/dec_video.c @@ -897,7 +897,11 @@ switch(sh_video->codec->driver){ #ifdef NEW_DECORE dec_frame.bmp=&dec_pic; dec_pic.y=dec_pic.u=dec_pic.v=NULL; +#ifdef DECORE_DIVX5 + decore(0x123, DEC_OPT_FRAME, &dec_frame, NULL); +#else decore(0x123, (sh_video->format==mmioFOURCC('D','I','V','3'))?DEC_OPT_FRAME_311:DEC_OPT_FRAME, &dec_frame, NULL); +#endif #else opendivx_src[0]=NULL; decore(0x123, 0, &dec_frame, NULL); @@ -943,7 +947,11 @@ switch(sh_video->codec->driver){ dec_frame.bmp=sh_video->our_out_buffer; dec_frame.stride=sh_video->disp_w; // printf("Decoding DivX4 frame\n"); +#ifdef DECORE_DIVX5 + decore(0x123, DEC_OPT_FRAME, &dec_frame, NULL); +#else decore(0x123, (sh_video->format==mmioFOURCC('D','I','V','3'))?DEC_OPT_FRAME_311:DEC_OPT_FRAME, &dec_frame, NULL); +#endif if(!drop_frame) blit_frame=3; break; } |