diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-03-26 13:20:18 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-03-26 13:20:18 +0100 |
commit | f22494b6fe280cd789e3b3db210f963afc6cbf3d (patch) | |
tree | eeee1280da8365a7b73829e7aecb7aa9e147d4e8 /gst/mxf/mxfaes-bwf.c | |
parent | c1c8b40d4201a4b6657b644bbe4a89e63b54bd0c (diff) | |
download | gst-plugins-bad-f22494b6fe280cd789e3b3db210f963afc6cbf3d.tar.gz gst-plugins-bad-f22494b6fe280cd789e3b3db210f963afc6cbf3d.tar.bz2 gst-plugins-bad-f22494b6fe280cd789e3b3db210f963afc6cbf3d.zip |
mxf: Use mxf_u{l,uid}_is_equal() and friends instead of memcmp()
Diffstat (limited to 'gst/mxf/mxfaes-bwf.c')
-rw-r--r-- | gst/mxf/mxfaes-bwf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gst/mxf/mxfaes-bwf.c b/gst/mxf/mxfaes-bwf.c index 8c93febd..d8862d75 100644 --- a/gst/mxf/mxfaes-bwf.c +++ b/gst/mxf/mxfaes-bwf.c @@ -1183,8 +1183,8 @@ mxf_bwf_create_caps (MXFMetadataTimelineTrack * track, /* FIXME: set a channel layout */ if (mxf_ul_is_zero (&descriptor->sound_essence_compression) || - mxf_ul_is_equal (&descriptor->sound_essence_compression, - &mxf_sound_essence_compression_uncompressed)) { + mxf_ul_is_subclass (&mxf_sound_essence_compression_uncompressed, + &descriptor->sound_essence_compression)) { guint block_align; if (descriptor->channel_count == 0 || @@ -1212,8 +1212,8 @@ mxf_bwf_create_caps (MXFMetadataTimelineTrack * track, codec_name = g_strdup_printf ("Uncompressed %u-bit little endian integer PCM audio", (block_align / descriptor->channel_count) * 8); - } else if (mxf_ul_is_equal (&descriptor->sound_essence_compression, - &mxf_sound_essence_compression_aiff)) { + } else if (mxf_ul_is_subclass (&mxf_sound_essence_compression_aiff, + &descriptor->sound_essence_compression)) { guint block_align; if (descriptor->channel_count == 0 || @@ -1242,8 +1242,8 @@ mxf_bwf_create_caps (MXFMetadataTimelineTrack * track, codec_name = g_strdup_printf ("Uncompressed %u-bit big endian integer PCM audio", (block_align / descriptor->channel_count) * 8); - } else if (mxf_ul_is_equal (&descriptor->sound_essence_compression, - &mxf_sound_essence_compression_alaw)) { + } else if (mxf_ul_is_subclass (&mxf_sound_essence_compression_alaw, + &descriptor->sound_essence_compression)) { if (descriptor->audio_sampling_rate.n != 0 || descriptor->audio_sampling_rate.d != 0 || |