Now with default bitrate suggestions per resolution and framerate
This commit is contained in:
parent
d3f7204cff
commit
c23b1a31be
1 changed files with 5 additions and 0 deletions
|
|
@ -120,6 +120,9 @@ ScrollView {
|
|||
prefs.width = parseInt(resolutionListModel.get(currentIndex).video_width)
|
||||
prefs.height = parseInt(resolutionListModel.get(currentIndex).video_height)
|
||||
prefs.fps = parseInt(resolutionListModel.get(currentIndex).video_fps)
|
||||
|
||||
prefs.bitrateKbps = prefs.getDefaultBitrate(prefs.width, prefs.height, prefs.fps);
|
||||
slider.value = prefs.bitrateKbps
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -147,9 +150,11 @@ ScrollView {
|
|||
|
||||
// TODO value should be loaded as the current value.
|
||||
value: prefs.bitrateKbps
|
||||
|
||||
stepSize: 500
|
||||
from : 500
|
||||
to: 100000
|
||||
|
||||
snapMode: "SnapOnRelease"
|
||||
width: Math.min(bitrateDesc.implicitWidth, parent.width)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue