Commit a084cc75 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

live555: fix PLAY starttime.

This is a semi backport of [a567bae6]. This changes less lines, so i feel a bit more at easy to backport it like this and not the original.
parent 8392e8ff
/*****************************************************************************
/r*****************************************************************************
* live555.cpp : LIVE555 Streaming Media support.
*****************************************************************************
* Copyright (C) 2003-2007 the VideoLAN team
......@@ -1033,7 +1033,7 @@ static int Play( demux_t *p_demux )
if( p_sys->rtsp )
{
/* The PLAY */
if( !p_sys->rtsp->playMediaSession( *p_sys->ms, p_sys->i_npt_start, -1, 1 ) )
if( !p_sys->rtsp->playMediaSession( *p_sys->ms, p_sys->i_npt_start / (double)1000000.0 , -1, 1 ) )
{
msg_Err( p_demux, "RTSP PLAY failed %s", p_sys->env->getResultMsg() );
return VLC_EGENERIC;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment