summaryrefslogtreecommitdiffstats
path: root/gst/mxf/mxfparse.c
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-11-26 11:30:28 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-11-26 11:30:28 +0000
commit1f99f89e59590047496c50897760b110a15a4ad0 (patch)
tree20a97b557834da1d87f8f4605ecd53636e6be225 /gst/mxf/mxfparse.c
parent0be182446746b7b03026b6baf667ef5cfe4ef860 (diff)
downloadgst-plugins-bad-1f99f89e59590047496c50897760b110a15a4ad0.tar.gz
gst-plugins-bad-1f99f89e59590047496c50897760b110a15a4ad0.tar.bz2
gst-plugins-bad-1f99f89e59590047496c50897760b110a15a4ad0.zip
gst/mxf/mxfdemux.c: Properly combine flow returns of the source pads.
Original commit message from CVS: * gst/mxf/mxfdemux.c: (gst_mxf_pad_init), (gst_mxf_demux_reset_metadata), (gst_mxf_demux_combine_flows), (gst_mxf_demux_handle_generic_container_essence_element): Properly combine flow returns of the source pads. Improve debugging and reset pad fields together with the metadata to prevent invalid memory references. * gst/mxf/mxfparse.c: (mxf_metadata_preface_parse): Fix typo.
Diffstat (limited to 'gst/mxf/mxfparse.c')
-rw-r--r--gst/mxf/mxfparse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/mxf/mxfparse.c b/gst/mxf/mxfparse.c
index 533e2561..3d6587ff 100644
--- a/gst/mxf/mxfparse.c
+++ b/gst/mxf/mxfparse.c
@@ -769,8 +769,7 @@ mxf_metadata_preface_parse (const MXFUL * key,
if (tag_size < 8)
goto error;
len = GST_READ_UINT32_BE (tag_data);
- GST_DEBUG (" number of identifications = %u",
- preface->n_identifications);
+ GST_DEBUG (" number of identifications = %u", len);
if (len == 0)
break;
if (GST_READ_UINT32_BE (tag_data + 4) != 16)