mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
vpxenc: change default for deadline to good quality
Having the deadline set to best quality causes the encoder to be absurdly slow, most real-life users will want the good quality tradeoff instead. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/707>
This commit is contained in:
parent
13cf3fe2a6
commit
fe6b59d0cc
2 changed files with 4 additions and 4 deletions
|
@ -26178,12 +26178,12 @@
|
|||
"writable": true
|
||||
},
|
||||
"deadline": {
|
||||
"blurb": "Deadline per frame (usec, 0=disabled)",
|
||||
"blurb": "Deadline per frame (usec, 0=best, 1=realtime)",
|
||||
"conditionally-available": false,
|
||||
"construct": false,
|
||||
"construct-only": false,
|
||||
"controllable": false,
|
||||
"default": "0",
|
||||
"default": "1000000",
|
||||
"max": "9223372036854775807",
|
||||
"min": "0",
|
||||
"mutable": "null",
|
||||
|
|
|
@ -85,7 +85,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_vpxenc_debug);
|
|||
#define DEFAULT_V_SCALING_MODE VP8E_NORMAL
|
||||
#define DEFAULT_CPU_USED 0
|
||||
#define DEFAULT_ENABLE_AUTO_ALT_REF FALSE
|
||||
#define DEFAULT_DEADLINE VPX_DL_BEST_QUALITY
|
||||
#define DEFAULT_DEADLINE VPX_DL_GOOD_QUALITY
|
||||
#define DEFAULT_NOISE_SENSITIVITY 0
|
||||
#define DEFAULT_SHARPNESS 0
|
||||
|
||||
|
@ -578,7 +578,7 @@ gst_vpx_enc_class_init (GstVPXEncClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, PROP_DEADLINE,
|
||||
g_param_spec_int64 ("deadline", "Deadline",
|
||||
"Deadline per frame (usec, 0=disabled)",
|
||||
"Deadline per frame (usec, 0=best, 1=realtime)",
|
||||
0, G_MAXINT64, DEFAULT_DEADLINE,
|
||||
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS |
|
||||
GST_PARAM_DOC_SHOW_DEFAULT)));
|
||||
|
|
Loading…
Reference in a new issue