mpegts: return early if packetizing short section
authorJesper Larsen <knorr.jesper@gmail.com>
Fri, 19 Dec 2014 13:43:20 +0000 (14:43 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 12 Jun 2015 18:21:51 +0000 (19:21 +0100)
commit355439206da3f1f5e91a5d1002852fdf5c904e91
tree3d8b59333ba4ee0dad7eca7d4fb79ac6b4f26a3f
parent3bbc945eb307830add32117e34647e1b13ace546
mpegts: return early if packetizing short section

Short sections have 3 bytes of common header, while other sections
have 8 bytes of common header. If packetizing common header of short
section, we should stop after the first 3 bytes.

https://bugzilla.gnome.org/show_bug.cgi?id=735653
gst-libs/gst/mpegts/gstmpegtssection.c