Skip to content

Commit 3aa75ec

Browse files
committed
vcomp/lavc: unsupp feature warn also for encoders
Use a word 'coders' instead of 'decoders' to point out to potentially unsupported features, because not only decoders may be affected, so make it clear.
1 parent 1bd1bb0 commit 3aa75ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/video_compress/libavcodec.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1603,7 +1603,7 @@ incomp_feature_warn(enum incomp_feature f, int req_val)
16031603
}
16041604
MSG(WARNING,
16051605
"Selected color depth %d b may not be supported by HW "
1606-
"decoders.\n",
1606+
"coders.\n",
16071607
req_val);
16081608
disable_opt = ":depth=8";
16091609
break;
@@ -1612,15 +1612,15 @@ incomp_feature_warn(enum incomp_feature f, int req_val)
16121612
return;
16131613
}
16141614
MSG(WARNING, "Auto-enabling intra-refresh "
1615-
"which may not be supported by HW decoders.\n");
1615+
"which may not be supported by HW coders.\n");
16161616
disable_opt = ":disable_intra_refresh";
16171617
break;
16181618
case INCOMP_INTERLACED_DCT:
16191619
if (req_val != -1) {
16201620
return;
16211621
}
16221622
MSG(WARNING, "Auto-enabling interlaced DCT "
1623-
"which may not be supported by HW decoders.\n");
1623+
"which may not be supported by HW coders.\n");
16241624
disable_opt = ":disable_interlaced_dct";
16251625
break;
16261626
case INCOMP_SUBSAMPLING:
@@ -1629,7 +1629,7 @@ incomp_feature_warn(enum incomp_feature f, int req_val)
16291629
}
16301630
MSG(WARNING,
16311631
"Selected pixfmt has subsampling %d:%d:%d, "
1632-
"which is usually not supported by hw. decoders\n",
1632+
"which is usually not supported by HW coders\n",
16331633
(req_val / 1000), ((req_val / 100) % 10),
16341634
((req_val / 10) % 10));
16351635
disable_opt = ":subs=420";

0 commit comments

Comments
 (0)