Move flush for libplacebo for PIP

This commit is contained in:
Joachim König 2024-01-20 11:01:39 +01:00
parent aa0c2f80e4
commit f3e5a14fdf

View File

@ -4160,7 +4160,7 @@ static void CuvidMixVideo(CuvidDecoder *decoder, __attribute__((unused)) int lev
Debug(4, "Failed rendering frame!\n");
}
pl_gpu_finish(p->gpu);
// printf("Rendertime %ld -- \n,",GetusTicks() - tt);
if (VideoScalerTest) { // left side test scaler
@ -4474,7 +4474,9 @@ static void CuvidDisplayFrame(void) {
decoder->grab = 0;
}
}
#ifdef PLACEBO
pl_gpu_finish(p->gpu);
#endif
#ifndef PLACEBO
// add osd to surface