mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Fix bug: Only black picture with VA-API hw decoder.
This commit is contained in:
parent
ec4a899bb8
commit
364cc04736
@ -1,3 +1,8 @@
|
|||||||
|
User johns
|
||||||
|
Date:
|
||||||
|
|
||||||
|
Fix bug: Nur schwarzes Bild bei VA-API hw decoder.
|
||||||
|
|
||||||
User HelAu
|
User HelAu
|
||||||
Date: Mon Jan 30 16:54:47 CET 2012
|
Date: Mon Jan 30 16:54:47 CET 2012
|
||||||
|
|
||||||
|
4
video.c
4
video.c
@ -1576,7 +1576,9 @@ static void VaapiCleanup(VaapiDecoder * decoder)
|
|||||||
VaapiDestroyDeinterlaceImages(decoder);
|
VaapiDestroyDeinterlaceImages(decoder);
|
||||||
}
|
}
|
||||||
|
|
||||||
decoder->FrameCounter = 0;
|
decoder->SurfaceField = 1;
|
||||||
|
|
||||||
|
//decoder->FrameCounter = 0;
|
||||||
decoder->PTS = AV_NOPTS_VALUE;
|
decoder->PTS = AV_NOPTS_VALUE;
|
||||||
VideoDeltaPTS = 0;
|
VideoDeltaPTS = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user