mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
Fix for softhdvaapi with libplacebo >= 3.Mai 2021
Needs fix for libplacebo as well. Or use libplacebo older that 3. Mai 2021
This commit is contained in:
parent
8f96c06595
commit
eabbbcb442
@ -63,7 +63,7 @@ extern void ToggleLUT();
|
|||||||
/// vdr-plugin version number.
|
/// vdr-plugin version number.
|
||||||
/// Makefile extracts the version number for generating the file name
|
/// Makefile extracts the version number for generating the file name
|
||||||
/// for the distribution archive.
|
/// for the distribution archive.
|
||||||
static const char *const VERSION = "3.5"
|
static const char *const VERSION = "3.5.1"
|
||||||
#ifdef GIT_REV
|
#ifdef GIT_REV
|
||||||
"-GIT" GIT_REV
|
"-GIT" GIT_REV
|
||||||
#endif
|
#endif
|
||||||
|
4
video.c
4
video.c
@ -2435,7 +2435,7 @@ void generateVAAPIImage(CuvidDecoder * decoder, int index, const AVFrame * frame
|
|||||||
if (decoder->PixFmt == AV_PIX_FMT_NV12) {
|
if (decoder->PixFmt == AV_PIX_FMT_NV12) {
|
||||||
fmt = pl_find_named_fmt(p->gpu, n == 0 ? "r8" : "rg8"); // 8 Bit YUV
|
fmt = pl_find_named_fmt(p->gpu, n == 0 ? "r8" : "rg8"); // 8 Bit YUV
|
||||||
} else {
|
} else {
|
||||||
fmt = pl_find_named_fmt(p->gpu, n == 0 ? "r16" : "rg16"); // 10 Bit YUV
|
fmt = pl_find_fourcc(p->gpu, n == 0 ? 0x20363152 : 0x32335247); // 10 Bit YUV
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
assert(fmt != NULL);
|
assert(fmt != NULL);
|
||||||
@ -4249,7 +4249,7 @@ void make_osd_overlay(int x, int y, int width, int height)
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
// make overlay
|
// make overlay
|
||||||
pl_tex_clear(p->gpu, pl->plane.texture, (float[4]) { 0 });
|
//pl_tex_clear(p->gpu, pl->plane.texture, (float[4]) { 0 });
|
||||||
pl->plane.components = 4;
|
pl->plane.components = 4;
|
||||||
pl->plane.shift_x = 0.0f;
|
pl->plane.shift_x = 0.0f;
|
||||||
pl->plane.shift_y = 0.0f;
|
pl->plane.shift_y = 0.0f;
|
||||||
|
Loading…
Reference in New Issue
Block a user