Mercurial > mplayer.hg
changeset 5578:acfcb903b778
-ovc libdv support
author | arpi |
---|---|
date | Fri, 12 Apr 2002 21:50:38 +0000 |
parents | 80eedd3ef6d3 |
children | 2250b6ad5ad9 |
files | cfg-mencoder.h mencoder.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/cfg-mencoder.h Fri Apr 12 21:49:51 2002 +0000 +++ b/cfg-mencoder.h Fri Apr 12 21:50:38 2002 +0000 @@ -54,6 +54,7 @@ // {"null", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_NULL, NULL}, {"rawrgb", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_RAWRGB, NULL}, {"vfw", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_VFW, NULL}, + {"libdv", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_LIBDV, NULL}, {"help", "\nAvailable codecs:\n copy\n frameno\n divx4\n raw\n lavc\n rawrgb\n vfw\n null\n\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, {NULL, NULL, 0, 0, 0, 0, NULL} };
--- a/mencoder.c Fri Apr 12 21:49:51 2002 +0000 +++ b/mencoder.c Fri Apr 12 21:50:38 2002 +0000 @@ -5,6 +5,7 @@ #define VCODEC_LIBAVCODEC 4 #define VCODEC_RAWRGB 6 #define VCODEC_VFW 7 +#define VCODEC_LIBDV 8 #define ACODEC_COPY 0 #define ACODEC_PCM 1 @@ -546,6 +547,8 @@ sh_video->vfilter=vf_open_encoder(NULL,"rawrgb",mux_v); break; case VCODEC_VFW: sh_video->vfilter=vf_open_encoder(NULL,"vfw",mux_v); break; + case VCODEC_LIBDV: + sh_video->vfilter=vf_open_encoder(NULL,"libdv",mux_v); break; } if(!mux_v->bih || !sh_video->vfilter){ mp_msg(MSGT_MENCODER,MSGL_FATAL,"Failed to open the encoder\n");