summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorSeungha Yang <seungha@centricular.com>2020-12-27 03:16:28 +0900
committerSeungha Yang <seungha@centricular.com>2020-12-27 03:58:39 +0900
commite82f1f8b0b45d53ed82d30fdccc33fec304d4101 (patch)
treecb5f77236e42c9dbd8ab7593615f11315b250ca7 /gst-libs
parent8df131ab420c95f3def56e965713913098c46a6e (diff)
downloadgstreamer-plugins-bad-e82f1f8b0b45d53ed82d30fdccc33fec304d4101.tar.gz
mfvideoenc: Re-define default GOP size value
The behavior for zero AVEncMPVGOPSize value would be varying depending on GPU vendor implementation and some GPU will produce keyframe only once at the beginning of encoding. That's unlikely expected result for users. To make this property behave consistently among various GPUs, this commit will change default value of "gop-size" property to -1 which means "auto". When "gop-size" is unspecified, then mfvideoenc will calculate GOP size based on framerate like that of our x264enc implementation. See also https://docs.microsoft.com/en-us/windows/win32/directshow/avencmpvgopsize-property Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1911>
Diffstat (limited to 'gst-libs')
0 files changed, 0 insertions, 0 deletions