From e4cf2cda429b0d57d1066d6c7b0cfe1d42fe08db Mon Sep 17 00:00:00 2001 From: Ilya Zhuravlev Date: Tue, 16 Aug 2016 10:03:32 -0700 Subject: [PATCH] video/vita: request a new IDR on any hwdec error --- src/video/vita.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/vita.c b/src/video/vita.c index fc202880..a4bab0df 100644 --- a/src/video/vita.c +++ b/src/video/vita.c @@ -259,7 +259,7 @@ static int vita_submit_decode_unit(PDECODE_UNIT decodeUnit) { ret = sceAvcdecDecode(&decoder, &au, &array_picture); if (ret < 0) printf("sceAvcdecDecode (len=0x%x): 0x%x numOfOutput %d\n", decodeUnit->fullLength, ret, array_picture.numOfOutput); - if (ret == 0x80620003) { + if (ret < 0) { return DR_NEED_IDR; }