[vlc-commits] demux: ts: don't clear temporary program list on SET_GROUP (fix #19434)
Francois Cartegnie
git at videolan.org
Mon Jan 8 12:10:50 CET 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Jan 8 12:01:32 2018 +0100| [d4df22f8256381b41205ecfb04052c7a0ed83f52] | committer: Francois Cartegnie
demux: ts: don't clear temporary program list on SET_GROUP (fix #19434)
otherwise we don't know which program is selected
maybe core might feedback this one day
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d4df22f8256381b41205ecfb04052c7a0ed83f52
---
modules/demux/mpeg/ts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
index 2f80f3d247..3e33380937 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -1087,7 +1087,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
p_sys->b_default_selection = false;
}
- else
+ else if( !p_sys->b_default_selection )
{
ARRAY_RESET( p_sys->programs );
p_sys->seltype = PROGRAM_AUTO_DEFAULT;
More information about the vlc-commits
mailing list