Changeset 6e2ae6f2ea83b18bf997b748f906d3ab98b19316
- Timestamp:
- 02/04/04 01:19:30
(5 years ago)
- Author:
- Laurent Aimar <fenrir@videolan.org>
- git-committer:
- Laurent Aimar <fenrir@videolan.org> 1080861570 +0000
- git-parent:
[07bc2fbdf36242cdbe4275db0ad01641b2cc8839]
- git-author:
- Laurent Aimar <fenrir@videolan.org> 1080861570 +0000
- Message:
- all: do not implement DEMUX_SET_TIME. DEMUX_SET_TIME. should be
implemented _only_ when it has a high precision.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rc87d50d |
r6e2ae6f |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2001 VideoLAN |
|---|
| 5 | | * $Id: a52.c,v 1.8 2004/03/03 20:39:51 gbazin Exp $ |
|---|
| | 5 | * $Id$ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Gildas Bazin <gbazin@netcourrier.com> |
|---|
| … | … | |
| 275 | 275 | { |
|---|
| 276 | 276 | demux_sys_t *p_sys = p_demux->p_sys; |
|---|
| 277 | | return demux2_vaControlHelper( p_demux->s, |
|---|
| 278 | | 0, -1, |
|---|
| 279 | | 8*p_sys->i_mux_rate, 1, i_query, args ); |
|---|
| | 277 | if( i_query == DEMUX_SET_TIME ) |
|---|
| | 278 | return VLC_EGENERIC; |
|---|
| | 279 | else |
|---|
| | 280 | return demux2_vaControlHelper( p_demux->s, |
|---|
| | 281 | 0, -1, |
|---|
| | 282 | 8*p_sys->i_mux_rate, 1, i_query, args ); |
|---|
| 280 | 283 | } |
|---|
| 281 | 284 | |
|---|
| rc87d50d |
r6e2ae6f |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2001-2003 VideoLAN |
|---|
| 5 | | * $Id: aac.c,v 1.11 2004/03/03 20:39:51 gbazin Exp $ |
|---|
| | 5 | * $Id$ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Laurent Aimar <fenrir@via.ecp.fr> |
|---|
| … | … | |
| 264 | 264 | /* demux_sys_t *p_sys = p_demux->p_sys; */ |
|---|
| 265 | 265 | /* FIXME calculate the bitrate */ |
|---|
| 266 | | return demux2_vaControlHelper( p_demux->s, |
|---|
| 267 | | 0, -1, |
|---|
| 268 | | 8*0, 1, i_query, args ); |
|---|
| 269 | | } |
|---|
| 270 | | |
|---|
| | 266 | if( i_query == DEMUX_SET_TIME ) |
|---|
| | 267 | return VLC_EGENERIC; |
|---|
| | 268 | else |
|---|
| | 269 | return demux2_vaControlHelper( p_demux->s, |
|---|
| | 270 | 0, -1, |
|---|
| | 271 | 8*0, 1, i_query, args ); |
|---|
| | 272 | } |
|---|
| | 273 | |
|---|
| rc87d50d |
r6e2ae6f |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2001 VideoLAN |
|---|
| 5 | | * $Id: dts.c,v 1.12 2004/03/03 20:39:51 gbazin Exp $ |
|---|
| | 5 | * $Id$ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Gildas Bazin <gbazin@netcourrier.com> |
|---|
| … | … | |
| 257 | 257 | { |
|---|
| 258 | 258 | demux_sys_t *p_sys = p_demux->p_sys; |
|---|
| 259 | | return demux2_vaControlHelper( p_demux->s, |
|---|
| 260 | | 0, -1, |
|---|
| 261 | | 8*p_sys->i_mux_rate, 1, i_query, args ); |
|---|
| | 259 | if( i_query == DEMUX_SET_TIME ) |
|---|
| | 260 | return VLC_EGENERIC; |
|---|
| | 261 | else |
|---|
| | 262 | return demux2_vaControlHelper( p_demux->s, |
|---|
| | 263 | 0, -1, |
|---|
| | 264 | 8*p_sys->i_mux_rate, 1, i_query, args ); |
|---|
| 262 | 265 | } |
|---|
| 263 | 266 | |
|---|
| rc87d50d |
r6e2ae6f |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2001-2003 VideoLAN |
|---|
| 5 | | * $Id: flac.c,v 1.13 2004/03/03 20:39:51 gbazin Exp $ |
|---|
| | 5 | * $Id$ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Gildas Bazin <gbazin@netcourrier.com> |
|---|
| … | … | |
| 224 | 224 | /* demux_sys_t *p_sys = p_demux->p_sys; */ |
|---|
| 225 | 225 | /* FIXME bitrate */ |
|---|
| 226 | | return demux2_vaControlHelper( p_demux->s, |
|---|
| 227 | | 0, -1, |
|---|
| 228 | | 8*0, 1, i_query, args ); |
|---|
| 229 | | } |
|---|
| 230 | | |
|---|
| | 226 | if( i_query == DEMUX_SET_TIME ) |
|---|
| | 227 | return VLC_EGENERIC; |
|---|
| | 228 | else |
|---|
| | 229 | return demux2_vaControlHelper( p_demux->s, |
|---|
| | 230 | 0, -1, |
|---|
| | 231 | 8*0, 1, i_query, args ); |
|---|
| | 232 | } |
|---|
| | 233 | |
|---|