shithub: openh264

Download patch

ref: 24cd934ba95bed942f56dd5b864b205d179f797d
parent: 90eee67eb73b991ba67f09c5f0c0c9362a5ae11e
author: Martin Storsjö <martin@martin.st>
date: Fri Nov 28 08:06:12 EST 2014

Log what uiDisableDeblockingFilterIdc was set to when printing an error message

--- a/codec/encoder/core/src/svc_encode_slice.cpp
+++ b/codec/encoder/core/src/svc_encode_slice.cpp
@@ -290,8 +290,8 @@
     case 5:
       BsWriteUE (pBs, 2);
       break;
-    default :
-      WelsLog(&pCtx->sLogCtx, WELS_LOG_ERROR, "pData error for deblocking");
+    default:
+      WelsLog(&pCtx->sLogCtx, WELS_LOG_ERROR, "Invalid uiDisableDeblockingFilterIdc %d", pSliceHeader->uiDisableDeblockingFilterIdc);
       break;
     }
     if (1 != pSliceHeader->uiDisableDeblockingFilterIdc) {