Mercurial > mplayer.hg
diff libmpcodecs/ve_libdv.c @ 29263:0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
| author | diego |
|---|---|
| date | Wed, 13 May 2009 02:58:57 +0000 |
| parents | ed8f90096c65 |
| children | bbb6ebec87a0 |
line wrap: on
line diff
--- a/libmpcodecs/ve_libdv.c Tue May 12 19:25:35 2009 +0000 +++ b/libmpcodecs/ve_libdv.c Wed May 13 02:58:57 2009 +0000 @@ -31,7 +31,7 @@ struct vf_priv_s { muxer_stream_t* mux; dv_encoder_t* enc; - + }; #define mux_v (vf->priv->mux) @@ -44,7 +44,7 @@ if(width!=DV_WIDTH || (height!=DV_PAL_HEIGHT && height!=DV_NTSC_HEIGHT)){ mp_msg(MSGT_VFILTER,MSGL_ERR,"DV: only 720x480 (NTSC) and 720x576 (PAL) resolutions allowed! Try with -vf scale=720:480\n"); } - + vf->priv->enc->isPAL=(height==DV_PAL_HEIGHT); vf->priv->enc->is16x9=(d_width/(float)d_height > 1.7); // 16:9=1.777777 vf->priv->enc->vlc_encode_passes=3; @@ -72,7 +72,7 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts){ - dv_encode_full_frame(vf->priv->enc, mpi->planes, + dv_encode_full_frame(vf->priv->enc, mpi->planes, (mpi->flags&MP_IMGFLAG_YUV) ? e_dv_color_yuv : e_dv_color_rgb, mux_v->buffer); @@ -91,10 +91,10 @@ vf->priv=malloc(sizeof(struct vf_priv_s)); memset(vf->priv,0,sizeof(struct vf_priv_s)); vf->priv->mux=(muxer_stream_t*)args; - + vf->priv->enc=dv_encoder_new(0,1,1); // FIXME, parse some options! if(!vf->priv->enc) return 0; - + mux_v->bih=calloc(1, sizeof(BITMAPINFOHEADER)); mux_v->bih->biSize=sizeof(BITMAPINFOHEADER); mux_v->bih->biWidth=0;
