diff options
author | wm4 <wm4@nowhere> | 2017-07-21 20:00:09 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-07-21 20:00:09 +0200 |
commit | 4bc29c173090de173300b6e36da2bec1cae8c6f6 (patch) | |
tree | f9cdaaa43da04f91c18cb6cf7db8f05ad4e86b03 /video/decode/dec_video.c | |
parent | 7a51271d3d65f7be8911d835ed5f9bf22ea2eaee (diff) | |
download | mpv-4bc29c173090de173300b6e36da2bec1cae8c6f6.tar.bz2 mpv-4bc29c173090de173300b6e36da2bec1cae8c6f6.tar.xz |
options: kill --field-dominance
GPL-only author, no chance of relicensing.
Diffstat (limited to 'video/decode/dec_video.c')
-rw-r--r-- | video/decode/dec_video.c | 9 |
1 files changed, 0 insertions, 9 deletions
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; |