[vlc-devel] commit: (live555) Fix pausing behaviour (Jean-Paul Saman )
git version control
git at videolan.org
Thu Nov 27 10:49:56 CET 2008
vlc | branch: 0.9-trickplay | Jean-Paul Saman <jpsaman at videolan.org> | Thu Nov 27 10:36:03 2008 +0100| [09788d77c2d4bb6b6e07c812d24022bdfbb28bd7] | committer: Jean-Paul Saman
(live555) Fix pausing behaviour
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=09788d77c2d4bb6b6e07c812d24022bdfbb28bd7
---
modules/demux/live555.cpp | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index 60fe2df..1ec77e4 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -1365,8 +1365,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
p_sys->i_pcr = 0;
p_sys->i_npt = 0.0;
- es_out_Control( p_demux->out, ES_OUT_RESET_PCR );
-
*pi_int = (int)( INPUT_RATE_DEFAULT / p_sys->ms->scale() );
msg_Dbg( p_demux, "PLAY with new Scale %0.2f (%d)", p_sys->ms->scale(), (*pi_int) );
return VLC_SUCCESS;
@@ -1413,18 +1411,14 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
/* Retrieve the starttime if possible */
p_sys->i_npt_start = (int64_t)( p_sys->ms->playStartTime() * (double)1000000.0 );
- if( p_sys->i_npt_start < 0 )
- p_sys->i_npt_start = -1;
- else p_sys->i_npt = p_sys->i_npt_start;
/* Retrieve the duration if possible */
p_sys->i_npt_length = (int64_t)( p_sys->ms->playEndTime() * (double)1000000.0 );
- if( p_sys->i_npt_length < 0 )
- p_sys->i_npt_length = -1;
msg_Dbg( p_demux, "pause start: %lld stop:%lld", p_sys->i_npt_start, p_sys->i_npt_length );
return VLC_SUCCESS;
}
+
case DEMUX_GET_TITLE_INFO:
case DEMUX_SET_TITLE:
case DEMUX_SET_SEEKPOINT:
More information about the vlc-devel
mailing list