summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'video.c')
-rw-r--r--video.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/video.c b/video.c
index 39043be..d10ee86 100644
--- a/video.c
+++ b/video.c
@@ -1576,7 +1576,9 @@ static void VaapiCleanup(VaapiDecoder * decoder)
VaapiDestroyDeinterlaceImages(decoder);
}
- decoder->FrameCounter = 0;
+ decoder->SurfaceField = 1;
+
+ //decoder->FrameCounter = 0;
decoder->PTS = AV_NOPTS_VALUE;
VideoDeltaPTS = 0;
}