Improve detection of the end of the header metadata
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 26 Jan 2009 13:33:02 +0000 (14:33 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 31 Jan 2009 10:02:24 +0000 (11:02 +0100)
commit264e30abb9387cef3c072298ac530c67bb708e43
tree28a975910e9d3ff1b4fb62af2e757c8a7386fb4b
parent6a0a9fc01e2aec4020b8f35b4a4ce5df8e60e9d7
Improve detection of the end of the header metadata

Header metadata is finished after partition.header_byte_count
bytes after the first byte of the primer pack are handled.
After this there can only be index table segments, filler packets,
essence or the start of the next partition.

This fixes playback of some files that have non-standard metadata
packets in the header metadata.
gst/mxf/mxfdemux.c
gst/mxf/mxftypes.h