Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
adf14f74
Commit
adf14f74
authored
May 23, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Open Capture: Don't limit yourself to 99kHz
parent
3d01b088
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
modules/gui/qt4/components/open.cpp
modules/gui/qt4/components/open.cpp
+12
-0
No files found.
modules/gui/qt4/components/open.cpp
View file @
adf14f74
...
...
@@ -34,6 +34,10 @@
#include <QLineEdit>
#include <QStackedLayout>
#ifdef HAVE_LIMITS_H
# include <limits.h>
#endif
/**************************************************************************
* File open
**************************************************************************/
...
...
@@ -477,6 +481,8 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
#define CuMRL( widget, slot ) CONNECT( widget , slot , this, updateMRL() );
#define setMaxBound( spinbox ) spinbox->setRange ( 0, INT_MAX );
/*******
* V4L *
*******/
...
...
@@ -542,9 +548,11 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
pvrFreq
=
new
QSpinBox
;
pvrFreq
->
setAlignment
(
Qt
::
AlignRight
);
pvrFreq
->
setSuffix
(
" kHz"
);
setMaxBound
(
pvrFreq
);
pvrBitr
=
new
QSpinBox
;
pvrBitr
->
setAlignment
(
Qt
::
AlignRight
);
pvrBitr
->
setSuffix
(
" kHz"
);
setMaxBound
(
pvrBitr
);
QLabel
*
pvrNormLabel
=
new
QLabel
(
qtr
(
"Norm"
)
);
QLabel
*
pvrFreqLabel
=
new
QLabel
(
qtr
(
"Frequency"
)
);
QLabel
*
pvrBitrLabel
=
new
QLabel
(
qtr
(
"Bitrate"
)
);
...
...
@@ -603,6 +611,7 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
bdaFreq
=
new
QSpinBox
;
bdaFreq
->
setAlignment
(
Qt
::
AlignRight
);
bdaFreq
->
setSuffix
(
" kHz"
);
setMaxBound
(
bdaFreq
)
bdaPropLayout
->
addWidget
(
bdaFreqLabel
,
0
,
0
);
bdaPropLayout
->
addWidget
(
bdaFreq
,
0
,
1
);
...
...
@@ -610,6 +619,7 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
bdaSrate
=
new
QSpinBox
;
bdaSrate
->
setAlignment
(
Qt
::
AlignRight
);
bdaSrate
->
setSuffix
(
" kHz"
);
setMaxBound
(
bdaSrate
);
bdaPropLayout
->
addWidget
(
bdaSrateLabel
,
1
,
0
);
bdaPropLayout
->
addWidget
(
bdaSrate
,
1
,
1
);
...
...
@@ -656,6 +666,7 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
dvbFreq
=
new
QSpinBox
;
dvbFreq
->
setAlignment
(
Qt
::
AlignRight
);
dvbFreq
->
setSuffix
(
" kHz"
);
setMaxBound
(
dvbFreq
);
dvbPropLayout
->
addWidget
(
dvbFreqLabel
,
0
,
0
);
dvbPropLayout
->
addWidget
(
dvbFreq
,
0
,
1
);
...
...
@@ -663,6 +674,7 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
dvbSrate
=
new
QSpinBox
;
dvbSrate
->
setAlignment
(
Qt
::
AlignRight
);
dvbSrate
->
setSuffix
(
" kHz"
);
setMaxBound
(
dvbSrate
);
dvbPropLayout
->
addWidget
(
dvbSrateLabel
,
1
,
0
);
dvbPropLayout
->
addWidget
(
dvbSrate
,
1
,
1
);
...
...
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