From 53d43bb65cbdb9f486766856a5877c29013d7a61 Mon Sep 17 00:00:00 2001 From: arpi_esp Date: Thu, 22 Mar 2001 18:06:48 +0000 Subject: postproces for MP43 fourcc git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@193 b3059339-0415-0410-9bf9-f77b7e298cf2 --- codecs.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/codecs.c b/codecs.c index 76181f2aac..8e79c1b5b6 100644 --- a/codecs.c +++ b/codecs.c @@ -47,11 +47,17 @@ char* get_vids_codec_name(){ printf("Video in MPEG-4 v3 (really DivX) format\n"); avi_header.bih.biCompression=mmioFOURCC('d', 'i', 'v', '3'); // hack avi_header.yuv_supported=1; +#ifdef USE_DIRECTSHOW + avi_header.vids_guid=&CLSID_DivxDecompressorCF; + return "divx_c32.ax"; +#else avi_header.yuv_hack_needed=1; #ifdef ANGELPOTION return "APmpg4v1.dll"; -#endif +#else return "divxc32.dll"; +#endif +#endif case mmioFOURCC('D', 'I', 'V', 'X'): case mmioFOURCC('d', 'i', 'v', 'x'): -- cgit v1.2.3