Mercurial > mplayer.hg
diff dec_video.c @ 4944:f896676db962
DivX5 Build support, not usefull because current divx5linux from avifile.sf.net only decodes black/green image
author | atmos4 |
---|---|
date | Wed, 06 Mar 2002 02:22:46 +0000 |
parents | 5f3f768a7596 |
children | b0e1dc1bba4b |
line wrap: on
line diff
--- a/dec_video.c Tue Mar 05 20:15:25 2002 +0000 +++ b/dec_video.c Wed Mar 06 02:22:46 2002 +0000 @@ -897,7 +897,11 @@ #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 @@ 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; }