mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Force black picture after start or suspend.
This commit is contained in:
parent
207871fd9b
commit
47d840bbff
10
video.c
10
video.c
@ -1772,6 +1772,8 @@ static VaapiDecoder *VaapiNewHwDecoder(void)
|
|||||||
decoder->OutputWidth = VideoWindowWidth;
|
decoder->OutputWidth = VideoWindowWidth;
|
||||||
decoder->OutputHeight = VideoWindowHeight;
|
decoder->OutputHeight = VideoWindowHeight;
|
||||||
|
|
||||||
|
decoder->Closing = -300 - 1;
|
||||||
|
|
||||||
decoder->PTS = AV_NOPTS_VALUE;
|
decoder->PTS = AV_NOPTS_VALUE;
|
||||||
|
|
||||||
// get/put still not working
|
// get/put still not working
|
||||||
@ -5679,9 +5681,6 @@ static VdpauDecoder *VdpauNewHwDecoder(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
decoder->OutputWidth = VideoWindowWidth;
|
|
||||||
decoder->OutputHeight = VideoWindowHeight;
|
|
||||||
|
|
||||||
// Procamp operation parameterization data
|
// Procamp operation parameterization data
|
||||||
decoder->Procamp.struct_version = VDP_PROCAMP_VERSION;
|
decoder->Procamp.struct_version = VDP_PROCAMP_VERSION;
|
||||||
decoder->Procamp.brightness = 0.0;
|
decoder->Procamp.brightness = 0.0;
|
||||||
@ -5689,6 +5688,11 @@ static VdpauDecoder *VdpauNewHwDecoder(void)
|
|||||||
decoder->Procamp.saturation = 1.0;
|
decoder->Procamp.saturation = 1.0;
|
||||||
decoder->Procamp.hue = 0.0; // default values
|
decoder->Procamp.hue = 0.0; // default values
|
||||||
|
|
||||||
|
decoder->OutputWidth = VideoWindowWidth;
|
||||||
|
decoder->OutputHeight = VideoWindowHeight;
|
||||||
|
|
||||||
|
decoder->Closing = -300 - 1;
|
||||||
|
|
||||||
decoder->PTS = AV_NOPTS_VALUE;
|
decoder->PTS = AV_NOPTS_VALUE;
|
||||||
|
|
||||||
// FIXME: hack
|
// FIXME: hack
|
||||||
|
Loading…
Reference in New Issue
Block a user