Skip to content
Snippets Groups Projects
Commit b725288e authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

demux: ts: fix user_pmt selection regression

parent ec951971
No related branches found
No related tags found
1 merge request!354demux: ts: fix user_pmt selection regression
Pipeline #113534 passed with stages
in 41 minutes and 47 seconds
......@@ -76,6 +76,9 @@ static void Close ( vlc_object_t * );
* 1. pid:pcr (to force the pcr pid)
* 2. pid:stream_type
* 3. pid:type=fourcc where type=(video|audio|spu)
* Ex: Program 1 on pid 8190 with hevc on pid 289, aac on pid 305
* and pcr on 305
* "8190:1=289:video=hevc,305:pcr,305:audio=mp4a"
*/
#define PMT_TEXT N_("Extra PMT")
#define PMT_LONGTEXT N_( \
......
......@@ -2238,6 +2238,8 @@ int UserPmt( demux_t *p_demux, const char *psz_fmt )
}
ARRAY_APPEND( GetPID(p_sys, 0)->u.p_pat->programs, pmtpid );
ARRAY_APPEND( p_sys->programs, pmtpid->i_pid );
p_sys->b_default_selection = true;
psz = strchr( psz, '=' );
if( psz )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment