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
cbc27099
Commit
cbc27099
authored
Sep 15, 2009
by
Francois Cartegnie
Committed by
Jean-Baptiste Kempf
Sep 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: Simple prefs Input/codec ui fixes
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
677a311c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
188 additions
and
89 deletions
+188
-89
modules/demux/avi/avi.c
modules/demux/avi/avi.c
+3
-2
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+1
-0
modules/gui/qt4/ui/sprefs_input.ui
modules/gui/qt4/ui/sprefs_input.ui
+184
-87
No files found.
modules/demux/avi/avi.c
View file @
cbc27099
...
...
@@ -57,8 +57,9 @@ static void Close( vlc_object_t * );
static
const
int
pi_index
[]
=
{
0
,
1
,
2
};
static
const
char
*
const
ppsz_indexes
[]
=
{
N_
(
"Ask"
),
N_
(
"Always fix"
),
N_
(
"Never fix"
)
};
static
const
char
*
const
ppsz_indexes
[]
=
{
N_
(
"Ask for action"
),
N_
(
"Always fix"
),
N_
(
"Never fix"
)
};
vlc_module_begin
()
set_shortname
(
"AVI"
)
...
...
modules/gui/qt4/components/simple_preferences.cpp
View file @
cbc27099
...
...
@@ -417,6 +417,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC
(
"prefer-system-codecs"
,
Bool
,
NULL
,
systemCodecBox
);
#else
ui
.
systemCodecBox
->
hide
();
ui
.
systemCodecLabel
->
hide
();
#endif
optionWidgets
.
append
(
ui
.
DVDDevice
);
optionWidgets
.
append
(
ui
.
cachingCombo
);
...
...
modules/gui/qt4/ui/sprefs_input.ui
View file @
cbc27099
...
...
@@ -8,7 +8,7 @@
<x>
0
</x>
<y>
0
</y>
<width>
687
</width>
<height>
507
</height>
<height>
489
</height>
</rect>
</property>
<property
name=
"windowTitle"
>
...
...
@@ -18,13 +18,19 @@
<item>
<widget
class=
"QGroupBox"
name=
"groupBox"
>
<property
name=
"title"
>
<string>
Disc Devices
</string>
<string>
Optical drive
</string>
</property>
<layout
class=
"QGridLayout"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label"
>
<property
name=
"minimumSize"
>
<size>
<width>
250
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Default
disc
device
</string>
<string>
Default
optical
device
</string>
</property>
<property
name=
"buddy"
>
<cstring>
DVDDevice
</cstring>
...
...
@@ -32,31 +38,67 @@
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QLineEdit"
name=
"DVDDevice"
/>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_5"
>
<item>
<widget
class=
"QLineEdit"
name=
"DVDDevice"
/>
</item>
<item>
<widget
class=
"QPushButton"
name=
"DVDBrowse"
>
<property
name=
"text"
>
<string>
Browse...
</string>
</property>
</widget>
</item>
</layout>
</item>
<item
row=
"0"
column=
"2"
>
<widget
class=
"QPushButton"
name=
"DVDBrowse"
>
</layout>
</widget>
</item>
<item>
<widget
class=
"QGroupBox"
name=
"groupBox_4"
>
<property
name=
"title"
>
<string>
Files
</string>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout_3"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"aviLabel"
>
<property
name=
"text"
>
<string>
Browse...
</string>
<string>
Damaged or incomplete AVI file
</string>
</property>
<property
name=
"buddy"
>
<cstring>
AviRepair
</cstring>
</property>
</widget>
</item>
<item
row=
"1"
column=
"0"
>
<widget
class=
"QLabel"
name=
"recordLabel"
>
<property
name=
"minimumSize"
>
<size>
<width>
250
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Record directory or filename
</string>
</property>
</widget>
</item>
<item
row=
"1"
column=
"1"
>
<widget
class=
"QLineEdit"
name=
"recordPath"
/>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_4"
>
<item>
<widget
class=
"QLineEdit"
name=
"recordPath"
/>
</item>
<item>
<widget
class=
"QPushButton"
name=
"recordBrowse"
>
<property
name=
"text"
>
<string>
Browse...
</string>
</property>
</widget>
</item>
</layout>
</item>
<item
row=
"1"
column=
"2"
>
<widget
class=
"QPushButton"
name=
"recordBrowse"
>
<property
name=
"text"
>
<string>
Browse...
</string>
</property>
</widget>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QComboBox"
name=
"AviRepair"
/>
</item>
</layout>
</widget>
...
...
@@ -69,8 +111,14 @@
<layout
class=
"QGridLayout"
name=
"gridLayout_2"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"portLabel"
>
<property
name=
"minimumSize"
>
<size>
<width>
250
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Server default port
</string>
<string>
Default port (server mode)
</string>
</property>
<property
name=
"margin"
>
<number>
0
</number>
...
...
@@ -80,26 +128,10 @@
</property>
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QSpinBox"
name=
"UDPPort"
>
<property
name=
"alignment"
>
<set>
Qt::AlignRight
</set>
</property>
<property
name=
"minimum"
>
<number>
1
</number>
</property>
<property
name=
"maximum"
>
<number>
65535
</number>
</property>
<property
name=
"value"
>
<number>
1234
</number>
</property>
</widget>
</item>
<item
row=
"1"
column=
"0"
>
<widget
class=
"QLabel"
name=
"httpProxyLabel"
>
<property
name=
"text"
>
<string>
HTTP proxy
</string>
<string>
HTTP proxy
URL
</string>
</property>
<property
name=
"buddy"
>
<cstring>
proxy
</cstring>
...
...
@@ -109,103 +141,168 @@
<item
row=
"1"
column=
"1"
>
<widget
class=
"QLineEdit"
name=
"proxy"
/>
</item>
</layout>
</widget>
</item>
<item>
<widget
class=
"QGroupBox"
name=
"groupBox_5"
>
<property
name=
"title"
>
<string>
Caching
</string>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout_3"
>
<item
row=
"0"
column=
"0"
>
<item
row=
"3"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_2"
>
<property
name=
"text"
>
<string>
Default caching
level
</string>
<string>
Default caching
policy
</string>
</property>
<property
name=
"buddy"
>
<cstring>
cachingCombo
</cstring>
</property>
</widget>
</item>
<item
row=
"
0
"
column=
"1"
>
<item
row=
"
3
"
column=
"1"
>
<widget
class=
"QComboBox"
name=
"cachingCombo"
/>
</item>
<item
row=
"2"
column=
"1"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<item>
<widget
class=
"QRadioButton"
name=
"HTTP"
>
<property
name=
"text"
>
<string>
HTTP (default)
</string>
</property>
<property
name=
"checkable"
>
<bool>
true
</bool>
</property>
<property
name=
"checked"
>
<bool>
true
</bool>
</property>
</widget>
</item>
<item>
<widget
class=
"QRadioButton"
name=
"RTSP_TCPBox"
>
<property
name=
"text"
>
<string>
RTP over RTSP (TCP)
</string>
</property>
</widget>
</item>
</layout>
</item>
<item
row=
"2"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_3"
>
<property
name=
"text"
>
<string>
Stream transport
</string>
</property>
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_3"
>
<item>
<widget
class=
"QSpinBox"
name=
"UDPPort"
>
<property
name=
"alignment"
>
<set>
Qt::AlignRight
</set>
</property>
<property
name=
"minimum"
>
<number>
1
</number>
</property>
<property
name=
"maximum"
>
<number>
65535
</number>
</property>
<property
name=
"value"
>
<number>
1234
</number>
</property>
</widget>
</item>
<item>
<spacer
name=
"horizontalSpacer_2"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
40
</width>
<height>
20
</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget
class=
"QGroupBox"
name=
"groupBox_3"
>
<property
name=
"title"
>
<string>
Codecs
/ Muxers
</string>
<string>
Codecs
</string>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout"
>
<item
row=
"
0
"
column=
"0"
>
<item
row=
"
2
"
column=
"0"
>
<widget
class=
"QLabel"
name=
"ppLabel"
>
<property
name=
"minimumSize"
>
<size>
<width>
250
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Post-Processing quality
</string>
<string>
Video quality post-processing level
</string>
</property>
<property
name=
"buddy"
>
<cstring>
PostProcLevel
</cstring>
</property>
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QSpinBox"
name=
"PostProcLevel"
>
<property
name=
"alignment"
>
<set>
Qt::AlignRight
</set>
</property>
<property
name=
"minimum"
>
<number>
1
</number>
</property>
<property
name=
"maximum"
>
<number>
65535
</number>
</property>
<property
name=
"value"
>
<number>
6
</number>
</property>
</widget>
</item>
<item
row=
"1"
column=
"0"
>
<widget
class=
"QLabel"
name=
"aviLabel"
>
<item
row=
"7"
column=
"0"
>
<widget
class=
"QLabel"
name=
"filterLabel"
>
<property
name=
"text"
>
<string>
Repair AVI files
</string>
<string>
H.264 in-loop deblocking filter
</string>
</property>
<property
name=
"buddy"
>
<cstring>
AviRepair
</cstring>
<cstring>
loopFilterBox
</cstring>
</property>
</widget>
</item>
<item
row=
"
1
"
column=
"1"
>
<widget
class=
"QComboBox"
name=
"
AviRepair
"
/>
<item
row=
"
7
"
column=
"1"
>
<widget
class=
"QComboBox"
name=
"
loopFilterBox
"
/>
</item>
<item
row=
"2"
column=
"0"
colspan=
"2"
>
<widget
class=
"QCheckBox"
name=
"systemCodecBox"
>
<property
name=
"text"
>
<string>
Use system codecs if available (better quality)
</string>
</property>
</widget>
<item
row=
"2"
column=
"1"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_2"
>
<item>
<widget
class=
"QSpinBox"
name=
"PostProcLevel"
>
<property
name=
"alignment"
>
<set>
Qt::AlignRight
</set>
</property>
<property
name=
"minimum"
>
<number>
1
</number>
</property>
<property
name=
"maximum"
>
<number>
26
</number>
</property>
<property
name=
"value"
>
<number>
6
</number>
</property>
</widget>
</item>
<item>
<spacer
name=
"horizontalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
40
</width>
<height>
20
</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item
row=
"
3"
column=
"0"
colspan=
"2
"
>
<widget
class=
"Q
CheckBox"
name=
"RTSP_TCPBox
"
>
<item
row=
"
1"
column=
"0
"
>
<widget
class=
"Q
Label"
name=
"systemCodecLabel
"
>
<property
name=
"text"
>
<string>
Use RTP over RTSP (TCP
)
</string>
<string>
System codecs (better quality
)
</string>
</property>
</widget>
</item>
<item
row=
"
4"
column=
"0
"
>
<widget
class=
"Q
Label"
name=
"filterLabel
"
>
<item
row=
"
1"
column=
"1
"
>
<widget
class=
"Q
CheckBox"
name=
"systemCodecBox
"
>
<property
name=
"text"
>
<string>
Skip the loop filter for H.264 decoding
</string>
</property>
<property
name=
"buddy"
>
<cstring>
loopFilterBox
</cstring>
<string>
Use host codecs if available
</string>
</property>
</widget>
</item>
<item
row=
"4"
column=
"1"
>
<widget
class=
"QComboBox"
name=
"loopFilterBox"
/>
</item>
</layout>
</widget>
</item>
...
...
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