Skip to content

Commit 36fffdc

Browse files
committed
vd_lavc: add ProRes RAW to the list of enabled by default codecs for hwdec
Unlike all other codecs, ProRes RAW is pretty much guaranteed to be slow as hell on the CPU, always having thousands of tiles. And even on a very slow GPU, a CPU decode won't be anywhere near to usable to make a difference.
1 parent aa2dad0 commit 36fffdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

video/decode/vd_lavc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const struct m_sub_options hwdec_conf = {
165165
.defaults = &(const struct hwdec_opts){
166166
.software_fallback = 3,
167167
.hwdec_api = (char *[]){"no", NULL,},
168-
.hwdec_codecs = "h264,vc1,hevc,vp8,vp9,av1,prores,ffv1",
168+
.hwdec_codecs = "h264,vc1,hevc,vp8,vp9,av1,prores,prores_raw,ffv1",
169169
// Maximum number of surfaces the player wants to buffer. This number
170170
// might require adjustment depending on whatever the player does;
171171
// for example, if vo_gpu increases the number of reference surfaces for

0 commit comments

Comments
 (0)