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
672c3f35
Commit
672c3f35
authored
Aug 22, 2008
by
Jean-Philippe Andre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement 'record' button in Qt intf
parent
7fe659bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletion
+21
-1
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+21
-1
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
672c3f35
...
...
@@ -440,7 +440,27 @@ void AdvControlsWidget::AtoBLoop( float f_pos, int i_time, int i_length )
}
/* FIXME Record function */
void
AdvControlsWidget
::
record
(){}
void
AdvControlsWidget
::
record
()
{
input_thread_t
*
p_input
=
THEMIM
->
getInput
();
if
(
p_input
)
{
/* This method won't work fine if the stream can't be cut anywhere */
if
(
var_Type
(
p_input
,
"record-toggle"
)
==
VLC_VAR_VOID
)
var_TriggerCallback
(
p_input
,
"record-toggle"
);
else
{
/* 'record' access-filter is not loaded, we open Save dialog */
input_item_t
*
p_item
=
input_GetItem
(
p_input
);
if
(
!
p_item
)
return
;
char
*
psz
=
input_item_GetURI
(
p_item
);
if
(
psz
)
THEDP
->
streamingDialog
(
NULL
,
psz
,
true
);
}
}
}
#if 0
//FIXME Frame by frame function
...
...
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