libs: encoder: Add MB ratecontrol mode to get its string
authorWangfei <fei.w.wang@intel.com>
Mon, 1 Jul 2019 09:02:33 +0000 (17:02 +0800)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 5 Jul 2019 16:56:12 +0000 (16:56 +0000)
gst-libs/gst/vaapi/gstvaapiutils.c

index 49fb652..736fafa 100644 (file)
@@ -338,6 +338,10 @@ string_of_VARateControl (guint rate_control)
       return "VBR";
     case VA_RC_VBR_CONSTRAINED:
       return "VBR-Constrained";
+#if VA_CHECK_VERSION(0,39,1)
+    case VA_RC_MB:
+      return "MB";
+#endif
     default:
       break;
   }