~siretart/vlc/ubuntu

« back to all changes in this revision

Viewing changes to modules/demux/live555.cpp

  • Committer: Reinhard Tartler
  • Date: 2008-09-26 06:45:40 UTC
  • mto: (21.2.1 vlc-0.9.3)
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: siretart@tauware.de-20080926064540-0sd8zwmig33ksmy4
Tags: upstream-ubuntu-0.9.3
ImportĀ upstreamĀ versionĀ 0.9.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * live555.cpp : LIVE555 Streaming Media support.
3
3
 *****************************************************************************
4
4
 * Copyright (C) 2003-2007 the VideoLAN team
5
 
 * $Id: aeba245bb46007e454d4ffd763171c6a32151221 $
 
5
 * $Id: a82520ef9c9359cafcb6dc93023e62ab0c1d2793 $
6
6
 *
7
7
 * Authors: Laurent Aimar <fenrir@via.ecp.fr>
8
8
 *          Derk-Jan Hartman <hartman at videolan. org>
1033
1033
    if( p_sys->rtsp )
1034
1034
    {
1035
1035
        /* The PLAY */
1036
 
        if( !p_sys->rtsp->playMediaSession( *p_sys->ms, p_sys->i_npt_start, -1, 1 ) )
 
1036
        if( !p_sys->rtsp->playMediaSession( *p_sys->ms, p_sys->i_npt_start / (double)1000000.0 , -1, 1 ) )
1037
1037
        {
1038
1038
            msg_Err( p_demux, "RTSP PLAY failed %s", p_sys->env->getResultMsg() );
1039
1039
            return VLC_EGENERIC;