[vlc-commits] Don't reset master program clock if master program was not selected
Rafaël Carré
git at videolan.org
Tue Dec 10 00:34:37 CET 2013
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Dec 9 18:34:01 2013 -0500| [5992295dccde490e835b8528dd0449ba236b8bf1] | 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=5992295dccde490e835b8528dd0449ba236b8bf1
---
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..74a488f 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->pgrm )
+ return VLC_SUCCESS;
+
if( p_sys->b_buffering )
{
/* Check buffering state on master clock update */
More information about the vlc-commits
mailing list