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
6f85cf97
Commit
6f85cf97
authored
Sep 13, 2008
by
Jean-Philippe Andre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: sorry guys, record works very fine actually...
parent
b5e274fa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
11 deletions
+2
-11
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+1
-7
modules/gui/qt4/components/interface_widgets.hpp
modules/gui/qt4/components/interface_widgets.hpp
+1
-4
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
6f85cf97
...
...
@@ -350,13 +350,11 @@ AdvControlsWidget::AdvControlsWidget( intf_thread_t *_p_i, bool b_fsCreation = f
#endif
/* Record Button */
#if 0
recordButton
=
new
QPushButton
;
setupSmallButton
(
recordButton
);
advLayout
->
addWidget
(
recordButton
);
BUTTON_SET_ACT_I
(
recordButton
,
""
,
record
,
qtr
(
"Record"
),
record
()
);
#endif
/* Snapshot Button */
snapshotButton
=
new
QPushButton
;
...
...
@@ -376,19 +374,16 @@ void AdvControlsWidget::enableInput( bool enable )
{
input_item_t
*
p_item
=
input_GetItem
(
THEMIM
->
getInput
()
);
i_input_id
=
p_item
->
i_id
;
#if 0
recordButton
->
setVisible
(
var_GetBool
(
THEMIM
->
getInput
(),
"can-record"
)
);
}
else
{
recordButton
->
setVisible
(
false
);
#endif
}
ABButton
->
setEnabled
(
enable
);
#if 0
recordButton
->
setEnabled
(
enable
);
#endif
if
(
enable
&&
(
i_last_input_id
!=
i_input_id
)
)
{
...
...
@@ -469,7 +464,6 @@ void AdvControlsWidget::AtoBLoop( float f_pos, int i_time, int i_length )
}
}
// TODO: On-the-fly record needs to be reimplemented
void
AdvControlsWidget
::
record
()
{
input_thread_t
*
p_input
=
THEMIM
->
getInput
();
...
...
modules/gui/qt4/components/interface_widgets.hpp
View file @
6f85cf97
...
...
@@ -133,10 +133,7 @@ public:
private:
intf_thread_t
*
p_intf
;
#if 0
QPushButton *recordButton;
#endif
QPushButton
*
ABButton
;
QPushButton
*
recordButton
,
*
ABButton
;
QPushButton
*
snapshotButton
,
*
frameButton
;
static
mtime_t
timeA
,
timeB
;
...
...
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