[vlc-commits] Don't reset master program clock if master program was not selected
Rafaël Carré
git at videolan.org
Tue Dec 10 01:01:11 CET 2013
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Dec 9 18:34:01 2013 -0500| [7880850671c3a30ee898546b309dc459d8218e6b] | committer: Rafaël Carré
Don't reset master program clock if master program was not selected
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7880850671c3a30ee898546b309dc459d8218e6b
---
src/input/es_out.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index b48e082..e8eae0f 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -2309,6 +2309,9 @@ static int EsOutControlLocked( es_out_t *out, int i_query, va_list args )
EsOutIsExtraBufferingAllowed( out ),
i_pcr, mdate() );
+ if( !p_sys->p_pgrm )
+ return VLC_SUCCESS;
+
if( p_sys->b_buffering )
{
/* Check buffering state on master clock update */
More information about the vlc-commits
mailing list