From 3a256761cca323d807031a52f5d17164326908dc Mon Sep 17 00:00:00 2001 From: uid45177 Date: Fri, 5 Jul 2002 21:34:39 +0000 Subject: hack to use dv codec CVS patchset: 2219 CVS date: 2002/07/05 21:34:39 --- src/libw32dll/w32codec.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/libw32dll/w32codec.c b/src/libw32dll/w32codec.c index 4fb30368e..6aa7ef147 100644 --- a/src/libw32dll/w32codec.c +++ b/src/libw32dll/w32codec.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: w32codec.c,v 1.85 2002/07/05 20:54:37 miguelfreitas Exp $ + * $Id: w32codec.c,v 1.86 2002/07/05 21:34:39 uid45177 Exp $ * * routines for using w32 codecs * DirectShow support by Miguel Freitas (Nov/2001) @@ -560,6 +560,10 @@ static void w32v_init_ds_codec (w32v_decoder_t *this, int buf_type) { this->ldt_fs = Setup_LDT_Keeper(); + /* hack: dvsd is the only fourcc accepted by qdv.dll */ + if( buf_type == BUF_VIDEO_DV ) + this->bih->biCompression = mmioFOURCC('d','v','s','d'); + this->ds_dec = DS_VideoDecoder_Open(win32_codec_name, this->guid, this->bih, this->flipped, 0); -- cgit v1.2.3