[vlc-commits] demux: ps: set track priority
Francois Cartegnie
git at videolan.org
Fri Mar 10 11:29:29 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Mar 10 11:28:54 2017 +0100| [1e780487e4ab07ada378fdcc25d8ae662e9c3e7f] | committer: Francois Cartegnie
demux: ps: set track priority
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1e780487e4ab07ada378fdcc25d8ae662e9c3e7f
---
modules/demux/mpeg/ps.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/mpeg/ps.h b/modules/demux/mpeg/ps.h
index 1a93fd7..732c1e6 100644
--- a/modules/demux/mpeg/ps.h
+++ b/modules/demux/mpeg/ps.h
@@ -248,6 +248,7 @@ static inline int ps_track_fill( ps_track_t *tk, ps_psm_t *p_psm, int i_id, bloc
/* PES packets usually contain truncated frames */
tk->fmt.b_packetized = false;
+ tk->fmt.i_priority = ~i_id & 0x0F;
if( ps_id_to_lang( p_psm, i_id ) )
{
More information about the vlc-commits
mailing list