[MPlayer-cvslog] r23306 - trunk/libmpcodecs/ve_lavc.c
Corey Hickey
bugfood-ml at fatooh.org
Sun May 13 19:55:24 CEST 2007
corey wrote:
> Author: corey
> Date: Sun May 13 19:51:17 2007
> New Revision: 23306
>
> Log:
> Add DV fourcc.
>
>
> Modified:
> trunk/libmpcodecs/ve_lavc.c
>
> Modified: trunk/libmpcodecs/ve_lavc.c
> ==============================================================================
> --- trunk/libmpcodecs/ve_lavc.c (original)
> +++ trunk/libmpcodecs/ve_lavc.c Sun May 13 19:51:17 2007
> @@ -991,6 +991,8 @@ static int vf_open(vf_instance_t *vf, ch
> mux_v->bih->biCompression = mmioFOURCC('S', 'N', 'O', 'W');
> else if (!strcasecmp(lavc_param_vcodec, "flv"))
> mux_v->bih->biCompression = mmioFOURCC('F', 'L', 'V', '1');
> + else if (!strcasecmp(lavc_param_vcodec, "dvvideo"))
> + mux_v->bih->biCompression = mmioFOURCC('d', 'v', 's', 'd');
> else
> mux_v->bih->biCompression = mmioFOURCC(lavc_param_vcodec[0],
> lavc_param_vcodec[1], lavc_param_vcodec[2], lavc_param_vcodec[3]); /* FIXME!!! */
> _______________________________________________
> MPlayer-cvslog mailing list
> MPlayer-cvslog at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cvslog
---------------------------------------------------------------------
$ patch -p0 < /tmp/dv_fourcc.diff
patching file libmpcodecs/ve_lavc.c
$ svn diff
Index: libmpcodecs/ve_lavc.c
===================================================================
--- libmpcodecs/ve_lavc.c (revision 23305)
+++ libmpcodecs/ve_lavc.c (working copy)
@@ -991,6 +991,8 @@
mux_v->bih->biCompression = mmioFOURCC('S', 'N', 'O', 'W');
else if (!strcasecmp(lavc_param_vcodec, "flv"))
mux_v->bih->biCompression = mmioFOURCC('F', 'L', 'V', '1');
+ else if (!strcasecmp(lavc_param_vcodec, "dvvideo"))
+ mux_v->bih->biCompression = mmioFOURCC('d', 'v', 's', 'd');
else
mux_v->bih->biCompression = mmioFOURCC(lavc_param_vcodec[0],
lavc_param_vcodec[1], lavc_param_vcodec[2],
lavc_param_vcodec[3]); /* FIXME!!! */
$ svn ci libmpcodecs/ve_lavc.c
Sending libmpcodecs/ve_lavc.c
Transmitting file data .
Committed revision 23306.
Warning: 'post-commit' hook failed with error output:
$
---------------------------------------------------------------------
Has anybody else been getting this message? I haven't committed anything
in a while...
-Corey
More information about the MPlayer-cvslog
mailing list