Commit 70b1f9b9 authored by Laurent Aimar's avatar Laurent Aimar

* rtp, display: update p_sout->i_out_pace_nocontrol.

parent 53ccc56f
......@@ -2,7 +2,7 @@
* display.c: display stream output module
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: display.c,v 1.12 2004/01/25 14:34:25 gbazin Exp $
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
......@@ -102,6 +102,9 @@ static int Open( vlc_object_t *p_this )
p_stream->p_sys = p_sys;
/* update p_sout->i_out_pace_nocontrol */
p_stream->p_sout->i_out_pace_nocontrol++;
return VLC_SUCCESS;
}
......@@ -113,6 +116,9 @@ static void Close( vlc_object_t * p_this )
sout_stream_t *p_stream = (sout_stream_t*)p_this;
sout_stream_sys_t *p_sys = p_stream->p_sys;
/* update p_sout->i_out_pace_nocontrol */
p_stream->p_sout->i_out_pace_nocontrol--;
vlc_object_release( p_sys->p_input );
free( p_sys );
......
......@@ -2,7 +2,7 @@
* rtp.c: rtp stream output module
*****************************************************************************
* Copyright (C) 2003-2004 VideoLAN
* $Id: rtp.c,v 1.13 2004/03/03 13:27:25 fenrir Exp $
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
......@@ -338,6 +338,9 @@ static int Open( vlc_object_t *p_this )
vlc_UrlClean( &url );
}
/* update p_sout->i_out_pace_nocontrol */
p_stream->p_sout->i_out_pace_nocontrol++;
return VLC_SUCCESS;
}
......@@ -349,6 +352,9 @@ static void Close( vlc_object_t * p_this )
sout_stream_t *p_stream = (sout_stream_t*)p_this;
sout_stream_sys_t *p_sys = p_stream->p_sys;
/* update p_sout->i_out_pace_nocontrol */
p_stream->p_sout->i_out_pace_nocontrol--;
if( p_sys->p_mux )
{
sout_MuxDelete( p_sys->p_mux );
......
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