[vlc-devel] commit: bridge: use VLC_TS_INVALID (refs #3135) ( Rafaël Carré )
git version control
git at videolan.org
Mon Dec 7 18:19:40 CET 2009
vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Mon Dec 7 18:19:03 2009 +0100| [94c45aa62932c360d6383bcacbda3298af968d88] | committer: Rafaël Carré
bridge: use VLC_TS_INVALID (refs #3135)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=94c45aa62932c360d6383bcacbda3298af968d88
---
modules/stream_out/bridge.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/stream_out/bridge.c b/modules/stream_out/bridge.c
index aec3854..504956f 100644
--- a/modules/stream_out/bridge.c
+++ b/modules/stream_out/bridge.c
@@ -291,7 +291,7 @@ static sout_stream_id_t * AddOut( sout_stream_t *p_stream, es_format_t *p_fmt )
p_es->b_empty = false;
p_es->id = NULL;
- p_es->i_last = 0;
+ p_es->i_last = VLC_TS_INVALID;
p_es->b_changed = true;
msg_Dbg( p_stream, "bridging out input codec=%4.4s id=%d pos=%d",
@@ -436,8 +436,8 @@ static int OpenIn( vlc_object_t *p_this )
var_Get( p_stream, SOUT_CFG_PREFIX_IN "placeholder-delay", &val );
p_sys->i_placeholder_delay = (mtime_t)val.i_int * 1000;
- p_sys->i_last_video = 0;
- p_sys->i_last_audio = 0;
+ p_sys->i_last_video = VLC_TS_INVALID;
+ p_sys->i_last_audio = VLC_TS_INVALID;
p_sys->id_video = NULL;
p_sys->id_audio = NULL;
More information about the vlc-devel
mailing list