summaryrefslogtreecommitdiffstats
path: root/gst/mxf/mxfaes-bwf.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-02-11 18:40:55 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-02-12 11:00:07 +0100
commit61b284de0d44247316fd185134c293d026e4131c (patch)
treee4fb723dea7b889470e8f816c3176bdfc22c1f18 /gst/mxf/mxfaes-bwf.c
parent144466e2cd855f420211b475f18ab0a0a4d7243e (diff)
downloadgst-plugins-bad-61b284de0d44247316fd185134c293d026e4131c.tar.gz
gst-plugins-bad-61b284de0d44247316fd185134c293d026e4131c.tar.bz2
gst-plugins-bad-61b284de0d44247316fd185134c293d026e4131c.zip
mxfdemux: Parse MXFTimestamp's milliseconds and add _to_string() function
Diffstat (limited to 'gst/mxf/mxfaes-bwf.c')
-rw-r--r--gst/mxf/mxfaes-bwf.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/gst/mxf/mxfaes-bwf.c b/gst/mxf/mxfaes-bwf.c
index ca9234f3..d2be9a26 100644
--- a/gst/mxf/mxfaes-bwf.c
+++ b/gst/mxf/mxfaes-bwf.c
@@ -203,14 +203,8 @@ mxf_metadata_wave_audio_essence_descriptor_handle_tag (MXFMetadataBase *
if (!mxf_timestamp_parse (&self->peak_envelope_timestamp,
tag_data, tag_size))
goto error;
- GST_DEBUG (" peak envelope timestamp = %d/%u/%u %u:%u:%u.%u",
- self->peak_envelope_timestamp.year,
- self->peak_envelope_timestamp.month,
- self->peak_envelope_timestamp.day,
- self->peak_envelope_timestamp.hour,
- self->peak_envelope_timestamp.minute,
- self->peak_envelope_timestamp.second,
- (self->peak_envelope_timestamp.quarter_msecond * 1000) / 256);
+ GST_DEBUG (" peak envelope timestamp = %s",
+ mxf_timestamp_to_string (&self->peak_envelope_timestamp, str));
break;
case 0x3d31:
self->peak_envelope_data = g_memdup (tag_data, tag_size);