[MPlayer-cvslog] r36466 - trunk/libmpcodecs/vd_ffmpeg.c
reimar
subversion at mplayerhq.hu
Tue Oct 15 20:44:10 CEST 2013
Author: reimar
Date: Tue Oct 15 20:44:09 2013
New Revision: 36466
Log:
Set skip_alpha, we currently have no use for alpha values.
Modified:
trunk/libmpcodecs/vd_ffmpeg.c
Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c Tue Oct 15 20:44:08 2013 (r36465)
+++ trunk/libmpcodecs/vd_ffmpeg.c Tue Oct 15 20:44:09 2013 (r36466)
@@ -31,6 +31,7 @@
#include "libavutil/common.h"
#include "libavutil/dict.h"
#include "libavutil/intreadwrite.h"
+#include "libavutil/opt.h"
#include "mpbswap.h"
#include "fmt-conversion.h"
@@ -386,6 +387,7 @@ static int init(sh_video_t *sh){
avctx->skip_loop_filter = str2AVDiscard(lavc_param_skip_loop_filter_str);
avctx->skip_idct = str2AVDiscard(lavc_param_skip_idct_str);
avctx->skip_frame = str2AVDiscard(lavc_param_skip_frame_str);
+ av_opt_set_int(avctx, "skip_alpha", 1, 0);
if(lavc_avopt){
if (parse_avopts(avctx, lavc_avopt) < 0 &&
More information about the MPlayer-cvslog
mailing list