Skip to content
  • Aaron Boxer's avatar
    rtpj2kpay: manage T tile invalidation bit correctly, update tile id in header correctly. · f89c4f9f
    Aaron Boxer authored
    1. according to RFC, T bit is only set when either the RTP packet only contains the J2K main header, or the packet contains tile parts from multiple tiles. This is now being managed correctly in the code. The second scenario cannot happen with our payloader, since tile headers are always placed in their own RTP packet, and so a packet cannot contain tile parts from multiple tiles.
    However, I have added code to track if multiple tile parts are included in a single RTP packet, in case in the future we want to put header and data in same packet.
    
    2. Old code would set the tile id to zero for all J2K packets. This is now set correctly to the appropriate tile id.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745187
    f89c4f9f