mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2025-03-01 10:39:28 +00:00
Move flush for libplacebo for PIP
This commit is contained in:
6
video.c
6
video.c
@@ -4160,7 +4160,7 @@ static void CuvidMixVideo(CuvidDecoder *decoder, __attribute__((unused)) int lev
|
|||||||
Debug(4, "Failed rendering frame!\n");
|
Debug(4, "Failed rendering frame!\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
pl_gpu_finish(p->gpu);
|
|
||||||
// printf("Rendertime %ld -- \n,",GetusTicks() - tt);
|
// printf("Rendertime %ld -- \n,",GetusTicks() - tt);
|
||||||
|
|
||||||
if (VideoScalerTest) { // left side test scaler
|
if (VideoScalerTest) { // left side test scaler
|
||||||
@@ -4474,7 +4474,9 @@ static void CuvidDisplayFrame(void) {
|
|||||||
decoder->grab = 0;
|
decoder->grab = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifdef PLACEBO
|
||||||
|
pl_gpu_finish(p->gpu);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef PLACEBO
|
#ifndef PLACEBO
|
||||||
// add osd to surface
|
// add osd to surface
|
||||||
|
Reference in New Issue
Block a user