mirror of
https://github.com/mpv-player/mpv
synced 2025-01-31 04:02:06 +00:00
Default to avcodec if installed, otherwise use fame. Apparently fame output is very very blocky
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5309 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d1281245b3
commit
ff1ffe28bf
@ -80,11 +80,11 @@
|
||||
#include "../postproc/swscale.h"
|
||||
#include "../cpudetect.h"
|
||||
|
||||
/*#ifndef USE_LIBAVCODEC*/
|
||||
#ifndef USE_LIBAVCODEC
|
||||
# define USE_LIBFAME
|
||||
/*#else
|
||||
#else
|
||||
# undef USE_LIBFAME
|
||||
#endif*/
|
||||
#endif
|
||||
#ifdef USE_LIBFAME
|
||||
#include "../libfame/fame.h"
|
||||
static unsigned char *outbuf = NULL;
|
||||
@ -288,7 +288,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32
|
||||
return -1;
|
||||
}
|
||||
|
||||
fame_obj = fame_get_object(fame_ctx, "motion/none");
|
||||
fame_obj = fame_get_object(fame_ctx, "motion/pmvfast");
|
||||
fame_register(fame_ctx, "motion", fame_obj);
|
||||
|
||||
fame_params.width = s_width;
|
||||
|
Loading…
Reference in New Issue
Block a user