Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
d0e71003
Commit
d0e71003
authored
Mar 14, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: use LineEdits for width and height and state that you can have one of them empty.
parent
9adc9c55
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
252 additions
and
220 deletions
+252
-220
modules/gui/qt4/components/sout/profile_selector.cpp
modules/gui/qt4/components/sout/profile_selector.cpp
+4
-4
modules/gui/qt4/ui/profiles.ui
modules/gui/qt4/ui/profiles.ui
+248
-216
No files found.
modules/gui/qt4/components/sout/profile_selector.cpp
View file @
d0e71003
...
@@ -301,8 +301,8 @@ void VLCProfileEditor::fillProfile( QString qs )
...
@@ -301,8 +301,8 @@ void VLCProfileEditor::fillProfile( QString qs )
ui
.
vBitrateSpin
->
setValue
(
options
[
5
].
toInt
()
);
ui
.
vBitrateSpin
->
setValue
(
options
[
5
].
toInt
()
);
ui
.
vScaleBox
->
setEditText
(
options
[
6
]
);
ui
.
vScaleBox
->
setEditText
(
options
[
6
]
);
ui
.
vFrameBox
->
setValue
(
options
[
7
].
toDouble
()
);
ui
.
vFrameBox
->
setValue
(
options
[
7
].
toDouble
()
);
ui
.
widthBox
->
set
Value
(
options
[
8
].
toInt
()
);
ui
.
widthBox
->
set
Text
(
options
[
8
]
);
ui
.
heightBox
->
set
Value
(
options
[
9
].
toInt
()
);
ui
.
heightBox
->
set
Text
(
options
[
9
]
);
ui
.
aCodecBox
->
setCurrentIndex
(
ui
.
aCodecBox
->
findData
(
options
[
10
]
)
);
ui
.
aCodecBox
->
setCurrentIndex
(
ui
.
aCodecBox
->
findData
(
options
[
10
]
)
);
ui
.
aBitrateSpin
->
setValue
(
options
[
11
].
toInt
()
);
ui
.
aBitrateSpin
->
setValue
(
options
[
11
].
toInt
()
);
...
@@ -390,8 +390,8 @@ QString VLCProfileEditor::transcodeValue()
...
@@ -390,8 +390,8 @@ QString VLCProfileEditor::transcodeValue()
<<
QString
::
number
(
ui
.
vBitrateSpin
->
value
()
)
<<
QString
::
number
(
ui
.
vBitrateSpin
->
value
()
)
<<
ui
.
vScaleBox
->
currentText
()
<<
ui
.
vScaleBox
->
currentText
()
<<
QString
::
number
(
ui
.
vFrameBox
->
value
()
)
<<
QString
::
number
(
ui
.
vFrameBox
->
value
()
)
<<
QString
::
number
(
ui
.
widthBox
->
value
()
)
<<
ui
.
widthBox
->
text
(
)
<<
QString
::
number
(
ui
.
heightBox
->
value
()
)
<<
ui
.
heightBox
->
text
(
)
<<
currentData
(
ui
.
aCodecBox
).
toString
()
<<
currentData
(
ui
.
aCodecBox
).
toString
()
<<
QString
::
number
(
ui
.
aBitrateSpin
->
value
()
)
<<
QString
::
number
(
ui
.
aBitrateSpin
->
value
()
)
...
...
modules/gui/qt4/ui/profiles.ui
View file @
d0e71003
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment