Browse Source

demux: vobsub: use stable id

Use the vob track identifier.
pull/103/head
Thomas Guillem 7 years ago
parent
commit
01215b3a5e
  1. 1
      modules/demux/vobsub.c

1
modules/demux/vobsub.c

@ -547,6 +547,7 @@ static int ParseVobSubIDX( demux_t *p_demux )
memcpy( &fmt.subs.spu.palette[1], p_sys->palette, 16 * sizeof( uint32_t ) );
}
fmt.i_id = i_track_id;
current_tk->p_es = es_out_Add( p_demux->out, &fmt );
msg_Dbg( p_demux, "New vobsub track detected: %i [%s]", i_track_id, language );
}

Loading…
Cancel
Save