diff options
author | wm4 <wm4@nowhere> | 2017-11-29 20:03:20 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-11-29 21:30:51 +0100 |
commit | 23d9dc5457c52408533c498c685ad9dd6fd2cee0 (patch) | |
tree | f653cbf00989d04b9513fcaa55ac33f54cc93a1d /player | |
parent | 03518c1a836fd8871d76c735c3a4842ce0416902 (diff) |
video: remove automatic stereo3d filter insertion
The internal stereo3d filter was removed due to being GPL only, and due
to being a mess that somehow used libavfilter's filter. Without this
filter, it's hard to remove our internal stereo3d image attribute, so
even using libavfilter's stereo3d filter would not work too well (unless
someone fixes it and makes it able to use AVFrame metadata, which we
then could mirror in mp_image).
This was never well thought-through anyway, so just drop it. I think
some "downsampling" support would still make sense, maybe that can be
readded later.
Diffstat (limited to 'player')
-rw-r--r-- | player/video.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/player/video.c b/player/video.c index 8fe3244c5c..956e55d843 100644 --- a/player/video.c +++ b/player/video.c @@ -129,7 +129,7 @@ static void filter_reconfig(struct MPContext *mpctx, struct vo_chain *vo_c) set_allowed_vo_formats(vo_c); - char *filters[] = {"autorotate", "autostereo3d", "deinterlace", NULL}; + char *filters[] = {"autorotate", "deinterlace", NULL}; for (int n = 0; filters[n]; n++) { struct vf_instance *vf = vf_find_by_label(vo_c->vf, filters[n]); if (vf) @@ -154,17 +154,6 @@ static void filter_reconfig(struct MPContext *mpctx, struct vo_chain *vo_c) } } - if (params.stereo_in != params.stereo_out && - params.stereo_in > 0 && params.stereo_out >= 0) - { - char *to = (char *)MP_STEREO3D_NAME(params.stereo_out); - if (to) { - char *args[] = {"in", "auto", "out", to, "warn", "no", NULL, NULL}; - if (try_filter(vo_c, "stereo3d", "autostereo3d", args) < 0) - MP_ERR(vo_c, "Can't insert 3D conversion filter.\n"); - } - } - if (mpctx->opts->deinterlace) probe_deint_filters(vo_c); } |