From 264e30abb9387cef3c072298ac530c67bb708e43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 26 Jan 2009 14:33:02 +0100 Subject: 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/mxftypes.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gst/mxf/mxftypes.h') diff --git a/gst/mxf/mxftypes.h b/gst/mxf/mxftypes.h index 791c6710..73f4a834 100644 --- a/gst/mxf/mxftypes.h +++ b/gst/mxf/mxftypes.h @@ -112,6 +112,7 @@ typedef struct { /* SMPTE 377M 8.1 */ typedef struct { + guint64 offset; GHashTable *mappings; } MXFPrimerPack; -- cgit v1.2.1