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
6e2ae6f2
Commit
6e2ae6f2
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
07bc2fbd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
16 deletions
+28
-16
modules/demux/a52.c
modules/demux/a52.c
+7
-4
modules/demux/aac.c
modules/demux/aac.c
+7
-4
modules/demux/dts.c
modules/demux/dts.c
+7
-4
modules/demux/flac.c
modules/demux/flac.c
+7
-4
No files found.
modules/demux/a52.c
View file @
6e2ae6f2
...
...
@@ -2,7 +2,7 @@
* a52.c : raw A/52 stream input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id
: a52.c,v 1.8 2004/03/03 20:39:51 gbazin Exp
$
* $Id$
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -274,9 +274,12 @@ static int Demux( demux_t *p_demux )
static
int
Control
(
demux_t
*
p_demux
,
int
i_query
,
va_list
args
)
{
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
return
demux2_vaControlHelper
(
p_demux
->
s
,
0
,
-
1
,
8
*
p_sys
->
i_mux_rate
,
1
,
i_query
,
args
);
if
(
i_query
==
DEMUX_SET_TIME
)
return
VLC_EGENERIC
;
else
return
demux2_vaControlHelper
(
p_demux
->
s
,
0
,
-
1
,
8
*
p_sys
->
i_mux_rate
,
1
,
i_query
,
args
);
}
/*****************************************************************************
...
...
modules/demux/aac.c
View file @
6e2ae6f2
...
...
@@ -2,7 +2,7 @@
* aac.c : Raw aac Stream input module for vlc
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id
: aac.c,v 1.11 2004/03/03 20:39:51 gbazin Exp
$
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -263,8 +263,11 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
{
/* demux_sys_t *p_sys = p_demux->p_sys; */
/* FIXME calculate the bitrate */
return
demux2_vaControlHelper
(
p_demux
->
s
,
0
,
-
1
,
8
*
0
,
1
,
i_query
,
args
);
if
(
i_query
==
DEMUX_SET_TIME
)
return
VLC_EGENERIC
;
else
return
demux2_vaControlHelper
(
p_demux
->
s
,
0
,
-
1
,
8
*
0
,
1
,
i_query
,
args
);
}
modules/demux/dts.c
View file @
6e2ae6f2
...
...
@@ -2,7 +2,7 @@
* dts.c : raw DTS stream input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id
: dts.c,v 1.12 2004/03/03 20:39:51 gbazin Exp
$
* $Id$
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -256,9 +256,12 @@ static int Demux( demux_t *p_demux )
static
int
Control
(
demux_t
*
p_demux
,
int
i_query
,
va_list
args
)
{
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
return
demux2_vaControlHelper
(
p_demux
->
s
,
0
,
-
1
,
8
*
p_sys
->
i_mux_rate
,
1
,
i_query
,
args
);
if
(
i_query
==
DEMUX_SET_TIME
)
return
VLC_EGENERIC
;
else
return
demux2_vaControlHelper
(
p_demux
->
s
,
0
,
-
1
,
8
*
p_sys
->
i_mux_rate
,
1
,
i_query
,
args
);
}
/*****************************************************************************
...
...
modules/demux/flac.c
View file @
6e2ae6f2
...
...
@@ -2,7 +2,7 @@
* flac.c : FLAC demux module for vlc
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id
: flac.c,v 1.13 2004/03/03 20:39:51 gbazin Exp
$
* $Id$
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -223,8 +223,11 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
{
/* demux_sys_t *p_sys = p_demux->p_sys; */
/* FIXME bitrate */
return
demux2_vaControlHelper
(
p_demux
->
s
,
0
,
-
1
,
8
*
0
,
1
,
i_query
,
args
);
if
(
i_query
==
DEMUX_SET_TIME
)
return
VLC_EGENERIC
;
else
return
demux2_vaControlHelper
(
p_demux
->
s
,
0
,
-
1
,
8
*
0
,
1
,
i_query
,
args
);
}
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