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
2329f4af
Commit
2329f4af
authored
Aug 22, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #1896
parent
da38842b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+6
-7
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
2329f4af
...
...
@@ -1270,8 +1270,8 @@ SyncControls::SyncControls( intf_thread_t *_p_intf, QWidget *_parent ) :
AVSpin
=
new
QDoubleSpinBox
;
AVSpin
->
setAlignment
(
Qt
::
AlignRight
|
Qt
::
AlignTrailing
|
Qt
::
AlignVCenter
);
AVSpin
->
setDecimals
(
3
);
AVSpin
->
setMinimum
(
-
100
);
AVSpin
->
setMaximum
(
100
);
AVSpin
->
setMinimum
(
-
100
.0
);
AVSpin
->
setMaximum
(
100
.0
);
AVSpin
->
setSingleStep
(
0.1
);
AVSpin
->
setToolTip
(
qtr
(
"A positive value means that
\n
"
"the audio is ahead of the video"
)
);
...
...
@@ -1303,8 +1303,8 @@ SyncControls::SyncControls( intf_thread_t *_p_intf, QWidget *_parent ) :
subsSpin
=
new
QDoubleSpinBox
;
subsSpin
->
setAlignment
(
Qt
::
AlignRight
|
Qt
::
AlignTrailing
|
Qt
::
AlignVCenter
);
subsSpin
->
setDecimals
(
3
);
subsSpin
->
setMinimum
(
-
100
);
subsSpin
->
setMaximum
(
100
);
subsSpin
->
setMinimum
(
-
100
.0
);
subsSpin
->
setMaximum
(
100
.0
);
subsSpin
->
setSingleStep
(
0.1
);
subsSpin
->
setToolTip
(
qtr
(
"A positive value means that
\n
"
"the subtitles are ahead of the video"
)
);
...
...
@@ -1379,9 +1379,8 @@ void SyncControls::advanceAudio( double f_advance )
if
(
THEMIM
->
getInput
()
)
{
int64_t
i_delay
=
var_GetTime
(
THEMIM
->
getInput
(),
"audio-delay"
);
i_delay
+
=
f_advance
*
1000000
;
i_delay
=
f_advance
*
1000000
;
var_SetTime
(
THEMIM
->
getInput
(),
"audio-delay"
,
i_delay
);
msg_Dbg
(
p_intf
,
"I am advancing Audio %d"
,
f_advance
);
}
}
...
...
@@ -1390,7 +1389,7 @@ void SyncControls::advanceSubs( double f_advance )
if
(
THEMIM
->
getInput
()
)
{
int64_t
i_delay
=
var_GetTime
(
THEMIM
->
getInput
(),
"spu-delay"
);
i_delay
+
=
f_advance
*
1000000
;
i_delay
=
f_advance
*
1000000
;
var_SetTime
(
THEMIM
->
getInput
(),
"spu-delay"
,
i_delay
);
msg_Dbg
(
p_intf
,
"I am advancing subtitles %d"
,
f_advance
);
}
...
...
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