[Bug 794998] omxvideoenc: restore OMX default target-bitrate if requested by user

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 5 08:57:13 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=794998

--- Comment #2 from Guillaume Desmottes <gdesmott at gnome.org> ---
Created attachment 370550
  --> https://bugzilla.gnome.org/attachment.cgi?id=370550&action=edit
omxvideoenc: use gst_omx_video_enc_set_bitrate() when setting bitrate in
set_format

We weren't using the usual pattern when re-setting the bitrate:
- get parameters from OMX
- update only the fields different from 0xffffffff (OMX defaults)
- set parameters

Also added a comment explaining why we re-set this param.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list