[vlc-devel] commit: mpga demux: DEMUX_SET_TIME was using DEMUX_GET_LENGTH logic unintentionally. ( Derk-Jan Hartman )
git version control
git at videolan.org
Sun Jul 27 15:08:43 CEST 2008
vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Sun Jul 27 15:10:20 2008 +0200| [1035469cb29a758e3e6ab9188312c8530fb63065]
mpga demux: DEMUX_SET_TIME was using DEMUX_GET_LENGTH logic unintentionally.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1035469cb29a758e3e6ab9188312c8530fb63065
---
modules/demux/mpeg/mpga.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/modules/demux/mpeg/mpga.c b/modules/demux/mpeg/mpga.c
index cd24330..9e0dbf4 100644
--- a/modules/demux/mpeg/mpga.c
+++ b/modules/demux/mpeg/mpga.c
@@ -356,10 +356,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
*pi64 = p_sys->i_pts + p_sys->i_time_offset;
return VLC_SUCCESS;
- case DEMUX_SET_TIME:
- /* FIXME TODO: implement a high precision seek (with mp3 parsing)
- * needed for multi-input */
-
case DEMUX_GET_LENGTH:
i_ret = demux_vaControlHelper( p_demux->s, 0, -1,
p_sys->i_bitrate_avg, 1, i_query,
@@ -383,6 +379,9 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
va_end( args_save );
return i_ret;
+ case DEMUX_SET_TIME:
+ /* FIXME TODO: implement a high precision seek (with mp3 parsing)
+ * needed for multi-input */
default:
i_ret = demux_vaControlHelper( p_demux->s, 0, -1,
p_sys->i_bitrate_avg, 1, i_query,
More information about the vlc-devel
mailing list