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
57832ef3
Commit
57832ef3
authored
Apr 01, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* all: do not implement DEMUX_SET_TIME. DEMUX_SET_TIME should be
implemented _only_ when it has a high precision.
parent
6e2ae6f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
10 deletions
+4
-10
modules/demux/nsv.c
modules/demux/nsv.c
+1
-1
modules/demux/pva.c
modules/demux/pva.c
+2
-2
modules/demux/ts.c
modules/demux/ts.c
+1
-7
No files found.
modules/demux/nsv.c
View file @
57832ef3
...
...
@@ -365,13 +365,13 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
*pi64 = 0;
return VLC_EGENERIC;
case DEMUX_SET_TIME:
#endif
case
DEMUX_GET_FPS
:
pf
=
(
double
*
)
va_arg
(
args
,
double
*
);
*
pf
=
(
double
)
1000000
.
0
/
(
double
)
p_sys
->
i_pcr_inc
;
return
VLC_SUCCESS
;
case
DEMUX_SET_TIME
:
default:
return
VLC_EGENERIC
;
}
...
...
modules/demux/pva.c
View file @
57832ef3
...
...
@@ -2,7 +2,7 @@
* pva.c: PVA demuxer
*****************************************************************************
* Copyright (C) 2004 VideoLAN
* $Id
: pva.c,v 1.1 2004/01/23 17:42:10 fenrir Exp
$
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -328,13 +328,13 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
*pi64 = 0;
return VLC_EGENERIC;
case DEMUX_SET_TIME:
#endif
case DEMUX_GET_FPS:
pf = (double*)va_arg( args, double * );
*pf = (double)1000000.0 / (double)p_sys->i_pcr_inc;
return VLC_SUCCESS;
#endif
case
DEMUX_SET_TIME
:
default:
return
VLC_EGENERIC
;
}
...
...
modules/demux/ts.c
View file @
57832ef3
...
...
@@ -693,7 +693,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
*pi64 = p_sys->i_time;
return VLC_SUCCESS;
#if 0
case DEMUX_GET_LENGTH:
pi64 = (int64_t*)va_arg( args, int64_t * );
if( p_sys->i_mux_rate > 0 )
...
...
@@ -703,14 +702,9 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
}
*pi64 = 0;
return VLC_EGENERIC;
case DEMUX_SET_TIME:
#endif
case
DEMUX_GET_FPS
:
pf = (double*)va_arg( args, double * );
*pf = (double)1000000.0 / (double)p_sys->i_pcr_inc;
return VLC_SUCCESS;
#endif
case
DEMUX_SET_TIME
:
default:
return
VLC_EGENERIC
;
}
...
...
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