[vlc-commits] demux: mp4: skip server rtp hint tracks (refs #17449)

Francois Cartegnie git at videolan.org
Wed Sep 28 21:32:08 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Sep 28 21:30:51 2016 +0200| [958ea8b9ca8a91f234a94d06b270a430fa835733] | committer: Francois Cartegnie

demux: mp4: skip server rtp hint tracks (refs #17449)

not for us.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=958ea8b9ca8a91f234a94d06b270a430fa835733
---

 modules/demux/mp4/mp4.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 3c7817f..a4d797c 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -2933,7 +2933,9 @@ static void MP4_TrackCreate( demux_t *p_demux, mp4_track_t *p_track,
             break;
 
         case( ATOM_hint ):
-            if( !MP4_BoxGet( p_box_trak, "mdia/minf/hmhd" ) )
+            /* RTP Reception Hint tracks */
+            if( !MP4_BoxGet( p_box_trak, "mdia/minf/hmhd" ) ||
+                !MP4_BoxGet( p_box_trak, "mdia/minf/stbl/stsd/rrtp" ) )
             {
                 break;
             }



More information about the vlc-commits mailing list