Mercurial > mplayer.hg
changeset 10777:8313be76ae69
asv2 encoding
author | michael |
---|---|
date | Mon, 01 Sep 2003 12:44:31 +0000 |
parents | 80402283a017 |
children | c554ca1115de |
files | libmpcodecs/ve_lavc.c |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ve_lavc.c Mon Sep 01 12:10:29 2003 +0000 +++ b/libmpcodecs/ve_lavc.c Mon Sep 01 12:44:31 2003 +0000 @@ -688,6 +688,12 @@ memset(mux_v->bih, 0, sizeof(BITMAPINFOHEADER)+8); mux_v->bih->biSize=sizeof(BITMAPINFOHEADER)+8; } + else if (lavc_param_vcodec && !strcasecmp(lavc_param_vcodec, "asv2")) + { + mux_v->bih=malloc(sizeof(BITMAPINFOHEADER)+8); + memset(mux_v->bih, 0, sizeof(BITMAPINFOHEADER)+8); + mux_v->bih->biSize=sizeof(BITMAPINFOHEADER)+8; + } else if (lavc_param_vcodec && !strcasecmp(lavc_param_vcodec, "wmv2")) { mux_v->bih=malloc(sizeof(BITMAPINFOHEADER)+4); @@ -736,6 +742,8 @@ mux_v->bih->biCompression = mmioFOURCC('H', 'F', 'Y', 'U'); else if (!strcasecmp(lavc_param_vcodec, "asv1")) mux_v->bih->biCompression = mmioFOURCC('A', 'S', 'V', '1'); + else if (!strcasecmp(lavc_param_vcodec, "asv2")) + mux_v->bih->biCompression = mmioFOURCC('A', 'S', 'V', '2'); else if (!strcasecmp(lavc_param_vcodec, "ffv1")) mux_v->bih->biCompression = mmioFOURCC('F', 'F', 'V', '1'); else