Fixed preferred language based stream selection
_preload_textst_subpath(): check if title is opened and subtitle decoding enabled
Added missing locking to PG decoder enable/disable
Added bd_select_stream()
added BD_MIN() and BD_MAX() macros
Fixed auto-selecting subtitle track when audio track is already valid
Allow stream auto selection code to disable already enabled subtitle track
Added support for multi-clip sub paths (IG menus, TextST streams)
Reference-counted RLE images
Added reference-counting to TextST RLE encoder
(was missing from previous commit)
Implement most of TextST styles
Changed header order (include macro.h after refcnt.h)
Log unimplemented features in graphics controller
Use pts with TextST. Wipe overlay at end_time.
Changed header order (include macro.h after refcnt.h)
Added check for this.
Removed incorrect log message
Fixed TextST textbox size in rle encoder (was reading one line past buffer)
Changed demuxer PES buffer allocation size.
Drops memory requirements with typical preloaded menus by ~80% and TextST streams by ~99.6% (65MB -> 256kb).
Fixed buffer overflow in bd_psr_unregister_cb()
Changed PhoneME library name in Windows (cvm -> cvmi)