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
16ebdc99
Commit
16ebdc99
authored
Jun 26, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/skins2/*: removed a couple of fixme
parent
25e85b0b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
26 deletions
+28
-26
modules/gui/skins2/src/vlcproc.cpp
modules/gui/skins2/src/vlcproc.cpp
+4
-17
modules/gui/skins2/vars/time.cpp
modules/gui/skins2/vars/time.cpp
+24
-9
No files found.
modules/gui/skins2/src/vlcproc.cpp
View file @
16ebdc99
...
...
@@ -192,21 +192,9 @@ void VlcProc::manage()
if
(
pInput
&&
!
pInput
->
b_die
)
{
// Refresh time variables
#warning "FIXME!"
if
(
true
/* pInput->stream.b_seekable */
)
{
// Refresh position in the stream
vlc_value_t
pos
;
var_Get
(
pInput
,
"position"
,
&
pos
);
if
(
pos
.
f_float
>=
0.0
)
{
pTime
->
set
(
pos
.
f_float
,
false
);
}
}
else
{
pTime
->
set
(
0
,
false
);
}
vlc_value_t
pos
;
var_Get
(
pInput
,
"position"
,
&
pos
);
pTime
->
set
(
pos
.
f_float
,
false
);
// Get the status of the playlist
playlist_status_t
status
=
getIntf
()
->
p_sys
->
p_playlist
->
i_status
;
...
...
@@ -215,8 +203,7 @@ void VlcProc::manage()
pVarStopped
->
set
(
status
==
PLAYLIST_STOPPED
);
pVarPaused
->
set
(
status
==
PLAYLIST_PAUSED
);
#warning "FIXME!"
pVarSeekable
->
set
(
true
/* pInput->stream.b_seekable */
);
pVarSeekable
->
set
(
pos
.
f_float
!=
0.0
);
}
else
{
...
...
modules/gui/skins2/vars/time.cpp
View file @
16ebdc99
...
...
@@ -58,9 +58,14 @@ const string StreamTime::getAsStringPercent() const
const
string
StreamTime
::
getAsStringCurrTime
()
const
{
#warning "FIXME!"
if
(
getIntf
()
->
p_sys
->
p_input
==
NULL
||
/* !getIntf()->p_sys->p_input->stream.b_seekable */
0
)
if
(
getIntf
()
->
p_sys
->
p_input
==
NULL
)
{
return
"-:--:--"
;
}
vlc_value_t
pos
;
var_Get
(
getIntf
()
->
p_sys
->
p_input
,
"position"
,
&
pos
);
if
(
pos
.
f_float
==
0.0
)
{
return
"-:--:--"
;
}
...
...
@@ -74,9 +79,14 @@ const string StreamTime::getAsStringCurrTime() const
const
string
StreamTime
::
getAsStringTimeLeft
()
const
{
#warning "FIXME!"
if
(
getIntf
()
->
p_sys
->
p_input
==
NULL
||
/* !getIntf()->p_sys->p_input->stream.b_seekable */
0
)
if
(
getIntf
()
->
p_sys
->
p_input
==
NULL
)
{
return
"-:--:--"
;
}
vlc_value_t
pos
;
var_Get
(
getIntf
()
->
p_sys
->
p_input
,
"position"
,
&
pos
);
if
(
pos
.
f_float
==
0.0
)
{
return
"-:--:--"
;
}
...
...
@@ -91,9 +101,14 @@ const string StreamTime::getAsStringTimeLeft() const
const
string
StreamTime
::
getAsStringDuration
()
const
{
#warning "FIXME!"
if
(
getIntf
()
->
p_sys
->
p_input
==
NULL
||
/* !getIntf()->p_sys->p_input->stream.b_seekable */
0
)
if
(
getIntf
()
->
p_sys
->
p_input
==
NULL
)
{
return
"-:--:--"
;
}
vlc_value_t
pos
;
var_Get
(
getIntf
()
->
p_sys
->
p_input
,
"position"
,
&
pos
);
if
(
pos
.
f_float
==
0.0
)
{
return
"-:--:--"
;
}
...
...
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