From 4bc29c173090de173300b6e36da2bec1cae8c6f6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 21 Jul 2017 20:00:09 +0200 Subject: options: kill --field-dominance GPL-only author, no chance of relicensing. --- video/decode/dec_video.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'video/decode/dec_video.c') diff --git a/video/decode/dec_video.c b/video/decode/dec_video.c index f7ca6cc477..c98ab2b8b7 100644 --- a/video/decode/dec_video.c +++ b/video/decode/dec_video.c @@ -327,15 +327,6 @@ static bool receive_frame(struct dec_video *d_video, struct mp_image **out_image if (!mpi) return progress; -#if HAVE_GPL - if (opts->field_dominance == 0) { - mpi->fields |= MP_IMGFIELD_TOP_FIRST | MP_IMGFIELD_INTERLACED; - } else if (opts->field_dominance == 1) { - mpi->fields &= ~MP_IMGFIELD_TOP_FIRST; - mpi->fields |= MP_IMGFIELD_INTERLACED; - } -#endif - // Note: the PTS is reordered, but the DTS is not. Both should be monotonic. double pts = mpi->pts; double dts = mpi->dts; -- cgit v1.2.3