Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
9c902929
Commit
9c902929
authored
Feb 27, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: repair A->B loop and close #2558
parent
a63f8160
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+6
-1
modules/gui/qt4/input_manager.hpp
modules/gui/qt4/input_manager.hpp
+1
-1
No files found.
modules/gui/qt4/input_manager.cpp
View file @
9c902929
...
...
@@ -823,18 +823,23 @@ void InputManager::setAtoB()
{
timeB
=
var_GetTime
(
THEMIM
->
getInput
(),
"time"
);
var_SetTime
(
THEMIM
->
getInput
(),
"time"
,
timeA
);
CONNECT
(
this
,
positionUpdated
(
float
,
int
,
int
),
this
,
AtoBLoop
(
float
,
int
,
int
)
);
}
else
{
timeA
=
0
;
timeB
=
0
;
disconnect
(
this
,
SIGNAL
(
positionUpdated
(
float
,
int
,
int
)
),
this
,
SLOT
(
AtoBLoop
(
float
,
int
,
int
)
)
);
}
emit
AtoBchanged
(
(
timeA
!=
0
),
(
timeB
!=
0
)
);
}
/* Function called regularly when in an AtoB loop */
void
InputManager
::
AtoBLoop
(
int
i_time
)
void
InputManager
::
AtoBLoop
(
float
,
int
i_time
,
int
)
{
msg_Dbg
(
p_intf
,
"I am here"
);
if
(
timeB
)
{
if
(
(
i_time
>=
(
int
)(
timeB
/
1000000
)
)
...
...
modules/gui/qt4/input_manager.hpp
View file @
9c902929
...
...
@@ -136,7 +136,6 @@ private:
void
UpdateCaching
();
void
UpdateRecord
();
void
AtoBLoop
(
int
);
public
slots
:
void
setInput
(
input_thread_t
*
);
///< Our controlled input changed
...
...
@@ -163,6 +162,7 @@ public slots:
private
slots
:
void
togglePlayPause
();
void
AtoBLoop
(
float
,
int
,
int
);
signals:
/// Send new position, new time and new length
...
...
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