mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-02 08:42:32 +00:00
mxf: Improve index entry debug log
By printing out the various known flag values Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2371>
This commit is contained in:
parent
11d9abd2d5
commit
a68198c405
1 changed files with 13 additions and 9 deletions
|
@ -1246,7 +1246,11 @@ mxf_index_table_segment_parse (const MXFUL * ul,
|
|||
entry->flags = GST_READ_UINT8 (tag_data);
|
||||
tag_data += 1;
|
||||
tag_size -= 1;
|
||||
GST_DEBUG (" flags = 0x%02x", entry->flags);
|
||||
GST_DEBUG (" flags = 0x%02x (%s%s%s%s)", entry->flags,
|
||||
entry->flags & 0x80 ? "Random-Access " : "",
|
||||
entry->flags & 0x40 ? "Sequence-Header " : "",
|
||||
entry->flags & 0x20 ? "Forward-Prediction " : "",
|
||||
entry->flags & 0x10 ? "Backward-Prediction " : "");
|
||||
|
||||
entry->stream_offset = GST_READ_UINT64_BE (tag_data);
|
||||
tag_data += 8;
|
||||
|
|
Loading…
Reference in a new issue