diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-04-12 21:50:38 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-04-12 21:50:38 +0000 |
commit | 1a8975c9d89dc2213f008ecb5af45a8f3ca9f3f0 (patch) | |
tree | bfc340bcb5c863f4ff91bced7588c735833e1e5f | |
parent | 79d8b852f40ea0c5141d0d20ae50da0605caae22 (diff) | |
download | mpv-1a8975c9d89dc2213f008ecb5af45a8f3ca9f3f0.tar.bz2 mpv-1a8975c9d89dc2213f008ecb5af45a8f3ca9f3f0.tar.xz |
-ovc libdv support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5579 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | cfg-mencoder.h | 1 | ||||
-rw-r--r-- | mencoder.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/cfg-mencoder.h b/cfg-mencoder.h index c0fb5c0281..c42e5af87b 100644 --- a/cfg-mencoder.h +++ b/cfg-mencoder.h @@ -54,6 +54,7 @@ struct config ovc_conf[]={ // {"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} }; diff --git a/mencoder.c b/mencoder.c index 67a11eb48e..21d78e42bd 100644 --- a/mencoder.c +++ b/mencoder.c @@ -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 @@ default: 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"); |