projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66d6754
)
libs: encoder: Add MB ratecontrol mode to get its string
author
Wangfei
<fei.w.wang@intel.com>
Mon, 1 Jul 2019 09:02:33 +0000
(17:02 +0800)
committer
Ví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
patch
|
blob
|
history
diff --git
a/gst-libs/gst/vaapi/gstvaapiutils.c
b/gst-libs/gst/vaapi/gstvaapiutils.c
index
49fb652
..
736fafa
100644
(file)
--- a/
gst-libs/gst/vaapi/gstvaapiutils.c
+++ b/
gst-libs/gst/vaapi/gstvaapiutils.c
@@
-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;
}