summaryrefslogtreecommitdiffstats
path: root/video/decode/dec_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode/dec_video.c')
-rw-r--r--video/decode/dec_video.c9
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;