python-codecs: fix corrupt frames

This commit is contained in:
Koushik Dutta
2023-08-15 21:27:56 -07:00
parent cadf10b505
commit a36b3066fe
3 changed files with 4 additions and 4 deletions

View File

@@ -355,7 +355,7 @@ async def generateVideoFramesGstreamer(
if platform.system() == "Darwin":
decoder = "vtdec_hw"
else:
decoder = "avdec_h264"
decoder = "avdec_h264 output-corrupt=false"
else:
# decodebin may pick a hardware accelerated decoder, which isn't ideal
# so use a known software decoder for h264 and decodebin for anything else.