summaryrefslogtreecommitdiff
path: root/gst/mxf/mxfmetadata.c
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2009-01-05 10:22:29 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2009-01-05 10:22:29 +0000
commit8fcdca999a84f831b2fdd22c6e1b8a0feda11149 (patch)
tree2b05409fcead559548507ad7cacf10926bf819e6 /gst/mxf/mxfmetadata.c
parent6a44cf9c1ecaa2a9b415923bb5041e00c7e1b181 (diff)
downloadgstreamer-plugins-bad-8fcdca999a84f831b2fdd22c6e1b8a0feda11149.tar.gz
gst/mxf/: Fix compilation with debugging disabled.
Original commit message from CVS: * gst/mxf/mxfaes-bwf.c: (mxf_metadata_wave_audio_essence_descriptor_handle_tag), (mxf_bwf_create_caps): * gst/mxf/mxfdemux.c: (gst_mxf_demux_handle_klv_packet): * gst/mxf/mxfmetadata.c: (mxf_metadata_handle_tag), (mxf_metadata_preface_handle_tag), (mxf_metadata_identification_handle_tag), (mxf_metadata_content_storage_handle_tag), (mxf_metadata_essence_container_data_handle_tag), (mxf_metadata_generic_package_handle_tag), (mxf_metadata_source_package_handle_tag), (mxf_metadata_track_handle_tag), (mxf_metadata_sequence_handle_tag), (mxf_metadata_structural_component_handle_tag), (mxf_metadata_source_clip_handle_tag), (mxf_metadata_dm_segment_handle_tag), (mxf_metadata_generic_descriptor_handle_tag), (mxf_metadata_file_descriptor_handle_tag), (mxf_metadata_generic_picture_essence_descriptor_handle_tag), (mxf_metadata_generic_sound_essence_descriptor_handle_tag), (mxf_metadata_generic_data_essence_descriptor_handle_tag), (mxf_metadata_multiple_descriptor_handle_tag): * gst/mxf/mxfparse.c: (mxf_partition_pack_parse), (mxf_index_table_segment_parse), (mxf_primer_pack_parse), (mxf_local_tag_add_to_hash_table): Fix compilation with debugging disabled.
Diffstat (limited to 'gst/mxf/mxfmetadata.c')
-rw-r--r--gst/mxf/mxfmetadata.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/gst/mxf/mxfmetadata.c b/gst/mxf/mxfmetadata.c
index e924ba69c..ade8f0565 100644
--- a/gst/mxf/mxfmetadata.c
+++ b/gst/mxf/mxfmetadata.c
@@ -137,7 +137,9 @@ static gboolean
mxf_metadata_handle_tag (MXFMetadataBase * metadata, MXFPrimerPack * primer,
guint16 tag, const guint8 * tag_data, guint tag_size)
{
+#ifndef GST_DISABLE_GST_DEBUG
gchar str[48];
+#endif
MXFMetadata *self = MXF_METADATA (metadata);
gboolean ret = TRUE;
@@ -327,7 +329,9 @@ mxf_metadata_preface_handle_tag (MXFMetadataBase * metadata,
guint tag_size)
{
MXFMetadataPreface *self = MXF_METADATA_PREFACE (metadata);
+#ifndef GST_DISABLE_GST_DEBUG
gchar str[48];
+#endif
gboolean ret = TRUE;
switch (tag) {
@@ -565,7 +569,9 @@ mxf_metadata_identification_handle_tag (MXFMetadataBase * metadata,
{
MXFMetadataIdentification *self = MXF_METADATA_IDENTIFICATION (metadata);
gboolean ret = TRUE;
+#ifndef GST_DISABLE_GST_DEBUG
gchar str[48];
+#endif
switch (tag) {
case 0x3c01:
@@ -684,7 +690,9 @@ mxf_metadata_content_storage_handle_tag (MXFMetadataBase * metadata,
{
MXFMetadataContentStorage *self = MXF_METADATA_CONTENT_STORAGE (metadata);
gboolean ret = TRUE;
+#ifndef GST_DISABLE_GST_DEBUG
gchar str[48];
+#endif
switch (tag) {
case 0x1901:{
@@ -841,7 +849,9 @@ mxf_metadata_essence_container_data_handle_tag (MXFMetadataBase * metadata,
MXFMetadataEssenceContainerData *self =
MXF_METADATA_ESSENCE_CONTAINER_DATA (metadata);
gboolean ret = TRUE;
+#ifndef GST_DISABLE_GST_DEBUG
gchar str[96];
+#endif
switch (tag) {
case 0x2701:
@@ -961,7 +971,9 @@ mxf_metadata_generic_package_handle_tag (MXFMetadataBase * metadata,
{
MXFMetadataGenericPackage *self = MXF_METADATA_GENERIC_PACKAGE (metadata);
gboolean ret = TRUE;
+#ifndef GST_DISABLE_GST_DEBUG
gchar str[96];
+#endif
switch (tag) {
case 0x4401:
@@ -1191,7 +1203,9 @@ mxf_metadata_source_package_handle_tag (MXFMetadataBase * metadata,
{
MXFMetadataSourcePackage *self = MXF_METADATA_SOURCE_PACKAGE (metadata);
gboolean ret = TRUE;
+#ifndef GST_DISABLE_GST_DEBUG
gchar str[48];
+#endif
switch (tag) {
case 0x4701:
@@ -1355,7 +1369,9 @@ mxf_metadata_track_handle_tag (MXFMetadataBase * metadata,
{
MXFMetadataTrack *self = MXF_METADATA_TRACK (metadata);
gboolean ret = TRUE;
+#ifndef GST_DISABLE_GST_DEBUG
gchar str[48];
+#endif
switch (tag) {
case 0x4801:
@@ -1647,7 +1663,9 @@ mxf_metadata_sequence_handle_tag (MXFMetadataBase * metadata,
{
MXFMetadataSequence *self = MXF_METADATA_SEQUENCE (metadata);
gboolean ret = TRUE;
+#ifndef GST_DISABLE_GST_DEBUG
gchar str[48];
+#endif
switch (tag) {
case 0x0201:
@@ -1773,7 +1791,9 @@ mxf_metadata_structural_component_handle_tag (MXFMetadataBase * metadata,
MXFMetadataStructuralComponent *self =
MXF_METADATA_STRUCTURAL_COMPONENT (metadata);
gboolean ret = TRUE;
+#ifndef GST_DISABLE_GST_DEBUG
gchar str[48];
+#endif
switch (tag) {
case 0x0201:
@@ -1897,7 +1917,9 @@ mxf_metadata_source_clip_handle_tag (MXFMetadataBase * metadata,
{
MXFMetadataSourceClip *self = MXF_METADATA_SOURCE_CLIP (metadata);
gboolean ret = TRUE;
+#ifndef GST_DISABLE_GST_DEBUG
gchar str[96];
+#endif
switch (tag) {
case 0x1201:
@@ -2096,7 +2118,9 @@ mxf_metadata_dm_segment_handle_tag (MXFMetadataBase * metadata,
{
MXFMetadataDMSegment *self = MXF_METADATA_DM_SEGMENT (metadata);
gboolean ret = TRUE;
+#ifndef GST_DISABLE_GST_DEBUG
gchar str[48];
+#endif
switch (tag) {
case 0x0601:
@@ -2241,7 +2265,9 @@ mxf_metadata_generic_descriptor_handle_tag (MXFMetadataBase * metadata,
MXFMetadataGenericDescriptor *self =
MXF_METADATA_GENERIC_DESCRIPTOR (metadata);
gboolean ret = TRUE;
+#ifndef GST_DISABLE_GST_DEBUG
gchar str[48];
+#endif
switch (tag) {
case 0x2f01:{
@@ -2351,7 +2377,9 @@ mxf_metadata_file_descriptor_handle_tag (MXFMetadataBase * metadata,
{
MXFMetadataFileDescriptor *self = MXF_METADATA_FILE_DESCRIPTOR (metadata);
gboolean ret = TRUE;
+#ifndef GST_DISABLE_GST_DEBUG
gchar str[48];
+#endif
switch (tag) {
case 0x3006:
@@ -2430,7 +2458,9 @@ mxf_metadata_generic_picture_essence_descriptor_handle_tag (MXFMetadataBase *
MXFMetadataGenericPictureEssenceDescriptor *self =
MXF_METADATA_GENERIC_PICTURE_ESSENCE_DESCRIPTOR (metadata);
gboolean ret = TRUE;
+#ifndef GST_DISABLE_GST_DEBUG
gchar str[48];
+#endif
switch (tag) {
case 0x3215:
@@ -2692,7 +2722,9 @@ mxf_metadata_generic_sound_essence_descriptor_handle_tag (MXFMetadataBase *
MXFMetadataGenericSoundEssenceDescriptor *self =
MXF_METADATA_GENERIC_SOUND_ESSENCE_DESCRIPTOR (metadata);
gboolean ret = TRUE;
+#ifndef GST_DISABLE_GST_DEBUG
gchar str[48];
+#endif
switch (tag) {
case 0x3d03:
@@ -3058,7 +3090,9 @@ mxf_metadata_generic_data_essence_descriptor_handle_tag (MXFMetadataBase *
MXFMetadataGenericDataEssenceDescriptor *self =
MXF_METADATA_GENERIC_DATA_ESSENCE_DESCRIPTOR (metadata);
gboolean ret = TRUE;
+#ifndef GST_DISABLE_GST_DEBUG
gchar str[48];
+#endif
switch (tag) {
case 0x3e01:
@@ -3130,7 +3164,9 @@ mxf_metadata_multiple_descriptor_handle_tag (MXFMetadataBase * metadata,
MXFMetadataMultipleDescriptor *self =
MXF_METADATA_MULTIPLE_DESCRIPTOR (metadata);
gboolean ret = TRUE;
+#ifndef GST_DISABLE_GST_DEBUG
gchar str[48];
+#endif
switch (tag) {
case 0x3f01:{