summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2017-10-31 12:24:39 +0100
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2018-01-30 11:51:10 +0000
commitd14b9ffa64bde0108432dde267895611e09dd693 (patch)
treea2867e0358a74b017cc86937fb602705a3de46ed
parent52de8eaca0d45a908d1074be49162635880e3834 (diff)
downloadgst-omx-d14b9ffa64bde0108432dde267895611e09dd693.tar.gz
omxvideoenc: document unit of target-bitrate property
nTargetBitrate and nEncodeBitrate are defined in bits per second in the OMX spec. https://bugzilla.gnome.org/show_bug.cgi?id=792528
-rw-r--r--omx/gstomxvideoenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/omx/gstomxvideoenc.c b/omx/gstomxvideoenc.c
index 035eb89..86458aa 100644
--- a/omx/gstomxvideoenc.c
+++ b/omx/gstomxvideoenc.c
@@ -145,7 +145,7 @@ gst_omx_video_enc_class_init (GstOMXVideoEncClass * klass)
g_object_class_install_property (gobject_class, PROP_TARGET_BITRATE,
g_param_spec_uint ("target-bitrate", "Target Bitrate",
- "Target bitrate (0xffffffff=component default)",
+ "Target bitrate in bits per second (0xffffffff=component default)",
0, G_MAXUINT, GST_OMX_VIDEO_ENC_TARGET_BITRATE_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS |
GST_PARAM_MUTABLE_PLAYING));