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
57eb2fb1
Commit
57eb2fb1
authored
Aug 07, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Go and check the configurations values only when needed.
parent
ad1639f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
17 deletions
+25
-17
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+25
-17
No files found.
modules/gui/qt4/components/open_panels.cpp
View file @
57eb2fb1
...
...
@@ -644,7 +644,6 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
bdaPropLayout
->
addWidget
(
bdaBandLabel
,
2
,
0
);
bdaBandBox
=
new
QComboBox
;
setfillVLCConfigCombo
(
"dvb-bandwidth"
,
p_intf
,
bdaBandBox
);
bdaPropLayout
->
addWidget
(
bdaBandBox
,
2
,
1
);
bdaBandLabel
->
hide
();
...
...
@@ -689,7 +688,6 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
v4l2PropLayout
->
addWidget
(
v4l2StdLabel
,
0
,
0
);
v4l2StdBox
=
new
QComboBox
;
setfillVLCConfigCombo
(
"v4l2-standard"
,
p_intf
,
v4l2StdBox
);
v4l2PropLayout
->
addWidget
(
v4l2StdBox
,
0
,
1
);
v4l2PropLayout
->
addItem
(
new
QSpacerItem
(
20
,
20
,
QSizePolicy
::
Expanding
),
1
,
0
,
3
,
1
);
...
...
@@ -724,7 +722,6 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
v4lPropLayout
->
addWidget
(
v4lNormLabel
,
0
,
0
);
v4lNormBox
=
new
QComboBox
;
setfillVLCConfigCombo
(
"v4l-norm"
,
p_intf
,
v4lNormBox
);
v4lPropLayout
->
addWidget
(
v4lNormBox
,
0
,
1
);
QLabel
*
v4lFreqLabel
=
new
QLabel
(
qtr
(
"Frequency"
)
);
...
...
@@ -823,7 +820,6 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
pvrPropLayout
->
addWidget
(
pvrNormLabel
,
0
,
0
);
pvrNormBox
=
new
QComboBox
;
setfillVLCConfigCombo
(
"pvr-norm"
,
p_intf
,
pvrNormBox
);
pvrPropLayout
->
addWidget
(
pvrNormBox
,
0
,
1
);
QLabel
*
pvrFreqLabel
=
new
QLabel
(
qtr
(
"Frequency"
)
);
...
...
@@ -1063,23 +1059,35 @@ void CaptureOpenPanel::updateButtons()
}
break
;
case
DSHOW_DEVICE
:
/* dshow Main */
int
line
=
0
;
module_config_t
*
p_config
=
config_FindConfig
(
VLC_OBJECT
(
p_intf
),
"dshow-vdev"
);
vdevDshowW
=
new
StringListConfigControl
(
VLC_OBJECT
(
p_intf
),
p_config
,
this
,
false
,
devLayout
,
line
);
line
++
;
p_config
=
config_FindConfig
(
VLC_OBJECT
(
p_intf
),
"dshow-adev"
);
adevDshowW
=
new
StringListConfigControl
(
VLC_OBJECT
(
p_intf
),
p_config
,
this
,
false
,
devLayout
,
line
);
line
++
;
break
;
{
/* dshow Main */
int
line
=
0
;
module_config_t
*
p_config
=
config_FindConfig
(
VLC_OBJECT
(
p_intf
),
"dshow-vdev"
);
vdevDshowW
=
new
StringListConfigControl
(
VLC_OBJECT
(
p_intf
),
p_config
,
this
,
false
,
devLayout
,
line
);
line
++
;
p_config
=
config_FindConfig
(
VLC_OBJECT
(
p_intf
),
"dshow-adev"
);
adevDshowW
=
new
StringListConfigControl
(
VLC_OBJECT
(
p_intf
),
p_config
,
this
,
false
,
devLayout
,
line
);
line
++
;
}
bvreak
;
#else
case
DVB_DEVICE
:
if
(
dvbs
->
isChecked
()
)
dvbFreq
->
setSuffix
(
" kHz"
);
if
(
dvbc
->
isChecked
()
||
dvbt
->
isChecked
()
)
dvbFreq
->
setSuffix
(
" Hz"
);
setfillVLCConfigCombo
(
"dvb-bandwidth"
,
p_intf
,
bdaBandBox
);
break
;
case
PVR_DEVICE
:
setfillVLCConfigCombo
(
"pvr-norm"
,
p_intf
,
pvrNormBox
);
break
;
case
V4L_DEVICE
:
setfillVLCConfigCombo
(
"v4l-norm"
,
p_intf
,
v4lNormBox
);
break
;
case
V4L2_DEVICE
:
setfillVLCConfigCombo
(
"v4l2-standard"
,
p_intf
,
v4l2StdBox
);
break
;
#endif
case
SCREEN_DEVICE
:
...
...
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