Fix bug: Only black picture with VA-API hw decoder.

This commit is contained in:
Johns 2012-01-30 23:09:53 +01:00
parent ec4a899bb8
commit 364cc04736
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
User johns
Date:
Fix bug: Nur schwarzes Bild bei VA-API hw decoder.
User HelAu
Date: Mon Jan 30 16:54:47 CET 2012

View File

@ -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;
}