- GST_LOG ("%*s version/flags: %08x", depth, "", GET_UINT32 (data));
- GST_LOG ("%*s creation time: %u", depth, "", GET_UINT32 (data));
- GST_LOG ("%*s modify time: %u", depth, "", GET_UINT32 (data));
- GST_LOG ("%*s time scale: 1/%u sec", depth, "", GET_UINT32 (data));
- GST_LOG ("%*s duration: %u", depth, "", GET_UINT32 (data));
+ version = GET_UINT32 (data);
+ GST_LOG ("%*s version/flags: %08x", depth, "", version);
+
+ version = version >> 24;
+ if (version == 0) {
+ GST_LOG ("%*s creation time: %u", depth, "", GET_UINT32 (data));
+ GST_LOG ("%*s modify time: %u", depth, "", GET_UINT32 (data));
+ GST_LOG ("%*s time scale: 1/%u sec", depth, "", GET_UINT32 (data));
+ GST_LOG ("%*s duration: %u", depth, "", GET_UINT32 (data));
+ } else if (version == 1) {
+ GST_LOG ("%*s creation time: %" G_GUINT64_FORMAT,
+ depth, "", GET_UINT64 (data));
+ GST_LOG ("%*s modify time: %" G_GUINT64_FORMAT,
+ depth, "", GET_UINT64 (data));
+ GST_LOG ("%*s time scale: 1/%u sec", depth, "", GET_UINT32 (data));
+ GST_LOG ("%*s duration: %" G_GUINT64_FORMAT,
+ depth, "", GET_UINT64 (data));
+ } else
+ return FALSE;
+