summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ve.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-10-31 00:04:18 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:16:55 +0200
commit389c32b5c72897a8b1b3c929c8f278e8980f2290 (patch)
tree47f7784ec12f9d53172f7ad326ed78f2f9889f74 /libmpcodecs/ve.c
parent8939645dcf39c398e1b70b851b3410299ca619ce (diff)
downloadmpv-389c32b5c72897a8b1b3c929c8f278e8980f2290.tar.bz2
mpv-389c32b5c72897a8b1b3c929c8f278e8980f2290.tar.xz
Remove MEncoder
Disable MEncoder compilation and remove files used by MEncoder only. There's no attempt to remove all references to MEncoder from the build system, documentation etc at this point. Removed files: (muxers, audio/video encoders, misc) mencoder.c cfg-mencoder.h parser-mecmd.[ch] xvid_vbr.[ch] libmpdemux/muxer* libmpcodecs/ae* libmpcodecs/ve* libmpcodecs/native/rtjpegn.[ch] libmpcodecs/native/mmx.h // was used by rtjpegn only Rationale: MEncoder is still useful for some people, but there's not much potential for further development; in the long run almost all use cases can be handled better by solutions based on something else (for example using FFmpeg or encoding MPlayer output). FFmpeg is already getting video filtering support which should work for some common MEncoder uses. Keeping MEncoder working takes extra work that is away from player development. While that amount of work is not huge (mostly MEncoder can be just ignored), it's not completely insignificant either. MEncoder is still maintained to some degree in the svn tree, so if necessary it's possible to use it from there for now. This tree has never had major improvements for the MEncoder side, so using svn MEncoder instead should be no major loss.
Diffstat (limited to 'libmpcodecs/ve.c')
-rw-r--r--libmpcodecs/ve.c75
1 files changed, 0 insertions, 75 deletions
diff --git a/libmpcodecs/ve.c b/libmpcodecs/ve.c
deleted file mode 100644
index d140559530..0000000000
--- a/libmpcodecs/ve.c
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * This file is part of MPlayer.
- *
- * MPlayer is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * MPlayer is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with MPlayer; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "config.h"
-#include "mp_msg.h"
-
-#include "img_format.h"
-#include "mp_image.h"
-#include "vf.h"
-
-extern vf_info_t ve_info_lavc;
-extern vf_info_t ve_info_vfw;
-extern vf_info_t ve_info_raw;
-extern vf_info_t ve_info_libdv;
-extern vf_info_t ve_info_xvid;
-extern vf_info_t ve_info_qtvideo;
-extern vf_info_t ve_info_nuv;
-extern vf_info_t ve_info_x264;
-
-/* Please do not add any new encoders here. If you want to implement a new
- * encoder, add it to libavcodec, except for wrappers around external
- * libraries and encoders requiring binary support. */
-
-static vf_info_t* encoder_list[]={
-#ifdef CONFIG_LIBAVCODEC
- &ve_info_lavc,
-#endif
-#ifdef CONFIG_WIN32DLL
- &ve_info_vfw,
-#ifdef CONFIG_QTX_CODECS_WIN32
- &ve_info_qtvideo,
-#endif
-#endif
-#ifdef CONFIG_LIBDV095
- &ve_info_libdv,
-#endif
- &ve_info_raw,
-#ifdef CONFIG_XVID4
- &ve_info_xvid,
-#endif
-#ifdef CONFIG_LIBLZO
- &ve_info_nuv,
-#endif
-#ifdef CONFIG_X264
- &ve_info_x264,
-#endif
- /* Please do not add any new encoders here. If you want to implement a new
- * encoder, add it to libavcodec, except for wrappers around external
- * libraries and encoders requiring binary support. */
- NULL
-};
-
-vf_instance_t* vf_open_encoder(struct MPOpts *opts, vf_instance_t* next, const char *name, char *args){
- char* vf_args[] = { "_oldargs_", args, NULL };
- return vf_open_plugin(opts, encoder_list,next,name,vf_args);
-}