From 7ed834ced705d7672a9f7212c10ca0d8e6b3eaa6 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 29 Mar 2012 17:41:55 +0200 Subject: [PATCH] test: Enable ABI check and update 64bit file --- tests/check/libs/libsabi.c | 4 -- tests/check/libs/struct_x86_64.h | 98 ++++++++++++++++++++-------------------- 2 files changed, 49 insertions(+), 53 deletions(-) diff --git a/tests/check/libs/libsabi.c b/tests/check/libs/libsabi.c index a95a7dc..96b294a 100644 --- a/tests/check/libs/libsabi.c +++ b/tests/check/libs/libsabi.c @@ -100,10 +100,6 @@ #endif #endif -/* disabled for 0.11 */ -#undef HAVE_ABI_SIZES -#define HAVE_ABI_SIZES FALSE - GST_START_TEST (test_ABI) { gst_check_abi_list (list, HAVE_ABI_SIZES); diff --git a/tests/check/libs/struct_x86_64.h b/tests/check/libs/struct_x86_64.h index 0b08e9f..76e36ca 100644 --- a/tests/check/libs/struct_x86_64.h +++ b/tests/check/libs/struct_x86_64.h @@ -1,47 +1,47 @@ GstCheckABIStruct list[] = { {"GstAppSinkCallbacks", sizeof (GstAppSinkCallbacks), 56}, - {"GstAppSinkClass", sizeof (GstAppSinkClass), 800}, - {"GstAppSink", sizeof (GstAppSink), 640}, + {"GstAppSinkClass", sizeof (GstAppSinkClass), 848}, + {"GstAppSink", sizeof (GstAppSink), 696}, {"GstAppSrcCallbacks", sizeof (GstAppSrcCallbacks), 56}, - {"GstAppSrcClass", sizeof (GstAppSrcClass), 816}, - {"GstAppSrc", sizeof (GstAppSrc), 640}, - {"GstAudioCdSrcClass", sizeof (GstAudioCdSrcClass), 856}, - {"GstAudioCdSrc", sizeof (GstAudioCdSrc), 792}, + {"GstAppSrcClass", sizeof (GstAppSrcClass), 872}, + {"GstAppSrc", sizeof (GstAppSrc), 680}, + {"GstAudioCdSrcClass", sizeof (GstAudioCdSrcClass), 1040}, + {"GstAudioCdSrc", sizeof (GstAudioCdSrc), 712}, {"GstAudioCdSrcTrack", sizeof (GstAudioCdSrcTrack), 48}, - {"GstAudioClockClass", sizeof (GstAudioClockClass), 384}, - {"GstAudioClock", sizeof (GstAudioClock), 344}, - {"GstAudioFilterClass", sizeof (GstAudioFilterClass), 784}, - {"GstAudioFilter", sizeof (GstAudioFilter), 744}, - {"GstAudioSinkClass", sizeof (GstAudioSinkClass), 856}, - {"GstAudioSink", sizeof (GstAudioSink), 720}, - {"GstAudioSrcClass", sizeof (GstAudioSrcClass), 912}, - {"GstAudioSrc", sizeof (GstAudioSrc), 744}, - {"GstAudioBaseSinkClass", sizeof (GstAudioBaseSinkClass), 768}, - {"GstAudioBaseSink", sizeof (GstAudioBaseSink), 680}, - {"GstAudioBaseSrcClass", sizeof (GstAudioBaseSrcClass), 824}, - {"GstAudioBaseSrc", sizeof (GstAudioBaseSrc), 704}, - {"GstRTPBaseAudioPayloadClass", sizeof (GstRTPBaseAudioPayloadClass), 568}, - {"GstRTPBaseAudioPayload", sizeof (GstRTPBaseAudioPayload), 544}, + {"GstAudioClockClass", sizeof (GstAudioClockClass), 328}, + {"GstAudioClock", sizeof (GstAudioClock), 240}, + {"GstAudioFilterClass", sizeof (GstAudioFilterClass), 856}, + {"GstAudioFilter", sizeof (GstAudioFilter), 920}, + {"GstAudioSinkClass", sizeof (GstAudioSinkClass), 912}, + {"GstAudioSink", sizeof (GstAudioSink), 784}, + {"GstAudioSrcClass", sizeof (GstAudioSrcClass), 984}, + {"GstAudioSrc", sizeof (GstAudioSrc), 792}, + {"GstAudioBaseSinkClass", sizeof (GstAudioBaseSinkClass), 824}, + {"GstAudioBaseSink", sizeof (GstAudioBaseSink), 744}, + {"GstAudioBaseSrcClass", sizeof (GstAudioBaseSrcClass), 896}, + {"GstAudioBaseSrc", sizeof (GstAudioBaseSrc), 752}, + {"GstRTPBaseAudioPayloadClass", sizeof (GstRTPBaseAudioPayloadClass), 600}, + {"GstRTPBaseAudioPayload", sizeof (GstRTPBaseAudioPayload), 592}, {"GstRTPBaseDepayloadClass", sizeof (GstRTPBaseDepayloadClass), 552}, - {"GstRTPBaseDepayload", sizeof (GstRTPBaseDepayload), 488}, - {"GstRTPBasePayloadClass", sizeof (GstRTPBasePayloadClass), 536}, - {"GstRTPBasePayload", sizeof (GstRTPBasePayload), 480}, + {"GstRTPBaseDepayload", sizeof (GstRTPBaseDepayload), 448}, + {"GstRTPBasePayloadClass", sizeof (GstRTPBasePayloadClass), 568}, + {"GstRTPBasePayload", sizeof (GstRTPBasePayload), 528}, {"GstColorBalanceChannelClass", sizeof (GstColorBalanceChannelClass), 176}, - {"GstColorBalanceChannel", sizeof (GstColorBalanceChannel), 40}, - {"GstColorBalanceInterface", sizeof (GstColorBalanceInterface), 88}, + {"GstColorBalanceChannel", sizeof (GstColorBalanceChannel), 72}, + {"GstColorBalanceInterface", sizeof (GstColorBalanceInterface), 80}, {"GstDiscovererClass", sizeof (GstDiscovererClass), 192}, {"GstDiscoverer", sizeof (GstDiscoverer), 64}, {"GstFFTF32Complex", sizeof (GstFFTF32Complex), 8}, {"GstFFTF64Complex", sizeof (GstFFTF64Complex), 16}, {"GstFFTS16Complex", sizeof (GstFFTS16Complex), 4}, {"GstFFTS32Complex", sizeof (GstFFTS32Complex), 8}, - {"GstMixerInterface", sizeof (GstMixerInterface), 144}, - {"GstMixerOptionsClass", sizeof (GstMixerOptionsClass), 200}, - {"GstMixerOptions", sizeof (GstMixerOptions), 88}, + {"GstMixerInterface", sizeof (GstMixerInterface), 88}, + {"GstMixerOptionsClass", sizeof (GstMixerOptionsClass), 208}, + {"GstMixerOptions", sizeof (GstMixerOptions), 120}, {"GstMixerTrackClass", sizeof (GstMixerTrackClass), 168}, - {"GstMixerTrack", sizeof (GstMixerTrack), 48}, - {"GstNavigationInterface", sizeof (GstNavigationInterface), 56}, + {"GstMixerTrack", sizeof (GstMixerTrack), 80}, + {"GstNavigationInterface", sizeof (GstNavigationInterface), 24}, {"gst_riff_acid", sizeof (gst_riff_acid), 24}, {"gst_riff_dmlh", sizeof (gst_riff_dmlh), 4}, {"gst_riff_index_entry", sizeof (gst_riff_index_entry), 16}, @@ -49,19 +49,19 @@ GstCheckABIStruct list[] = { {"gst_riff_strf_iavs", sizeof (gst_riff_strf_iavs), 32}, {"gst_riff_strf_vids", sizeof (gst_riff_strf_vids), 40}, {"gst_riff_strh", sizeof (gst_riff_strh), 48}, - {"GstAudioRingBufferClass", sizeof (GstAudioRingBufferClass), 344}, - {"GstAudioRingBuffer", sizeof (GstAudioRingBuffer), 328}, - {"GstAudioRingBufferSpec", sizeof (GstAudioRingBufferSpec), 136}, + {"GstAudioRingBufferClass", sizeof (GstAudioRingBufferClass), 312}, + {"GstAudioRingBuffer", sizeof (GstAudioRingBuffer), 872}, + {"GstAudioRingBufferSpec", sizeof (GstAudioRingBufferSpec), 400}, {"GstRTCPPacket", sizeof (GstRTCPPacket), 40}, - {"GstRTPPayloadInfo", sizeof (GstRTPPayloadInfo), 48}, - {"GstRTSPExtensionInterface", sizeof (GstRTSPExtensionInterface), 120}, - {"GstRTSPMessage", sizeof (GstRTSPMessage), 56}, + {"GstRTPPayloadInfo", sizeof (GstRTPPayloadInfo), 80}, + {"GstRTSPExtensionInterface", sizeof (GstRTSPExtensionInterface), 128}, + {"GstRTSPMessage", sizeof (GstRTSPMessage), 88}, {"GstRTSPRange", sizeof (GstRTSPRange), 8}, {"GstRTSPTime", sizeof (GstRTSPTime), 16}, {"GstRTSPTimeRange", sizeof (GstRTSPTimeRange), 40}, - {"GstRTSPTransport", sizeof (GstRTSPTransport), 88}, + {"GstRTSPTransport", sizeof (GstRTSPTransport), 120}, {"GstRTSPUrl", sizeof (GstRTSPUrl), 56}, - {"GstRTSPWatchFuncs", sizeof (GstRTSPWatchFuncs), 80}, + {"GstRTSPWatchFuncs", sizeof (GstRTSPWatchFuncs), 96}, {"GstSDPAttribute", sizeof (GstSDPAttribute), 16}, {"GstSDPBandwidth", sizeof (GstSDPBandwidth), 16}, {"GstSDPConnection", sizeof (GstSDPConnection), 32}, @@ -71,20 +71,20 @@ GstCheckABIStruct list[] = { {"GstSDPOrigin", sizeof (GstSDPOrigin), 48}, {"GstSDPTime", sizeof (GstSDPTime), 24}, {"GstSDPZone", sizeof (GstSDPZone), 16}, - {"GstStreamVolumeInterface", sizeof (GstStreamVolumeInterface), 48}, + {"GstStreamVolumeInterface", sizeof (GstStreamVolumeInterface), 16}, {"GstTagDemuxClass", sizeof (GstTagDemuxClass), 552}, - {"GstTagDemux", sizeof (GstTagDemux), 272}, + {"GstTagDemux", sizeof (GstTagDemux), 304}, {"GstTunerChannelClass", sizeof (GstTunerChannelClass), 184}, - {"GstTunerChannel", sizeof (GstTunerChannel), 64}, - {"GstTunerInterface", sizeof (GstTunerInterface), 152}, + {"GstTunerChannel", sizeof (GstTunerChannel), 96}, + {"GstTunerInterface", sizeof (GstTunerInterface), 120}, {"GstTunerNormClass", sizeof (GstTunerNormClass), 168}, - {"GstTunerNorm", sizeof (GstTunerNorm), 56}, - {"GstVideoFilterClass", sizeof (GstVideoFilterClass), 744}, - {"GstVideoFilter", sizeof (GstVideoFilter), 584}, - {"GstVideoOrientationInterface", sizeof (GstVideoOrientationInterface), 112}, + {"GstTunerNorm", sizeof (GstTunerNorm), 88}, + {"GstVideoFilterClass", sizeof (GstVideoFilterClass), 872}, + {"GstVideoFilter", sizeof (GstVideoFilter), 864}, + {"GstVideoOrientationInterface", sizeof (GstVideoOrientationInterface), 80}, {"GstVideoRectangle", sizeof (GstVideoRectangle), 16}, - {"GstVideoSinkClass", sizeof (GstVideoSinkClass), 760}, - {"GstVideoSink", sizeof (GstVideoSink), 640}, - {"GstVideoOverlayInterface", sizeof (GstVideoOverlayInterface), 64}, + {"GstVideoSinkClass", sizeof (GstVideoSinkClass), 816}, + {"GstVideoSink", sizeof (GstVideoSink), 696}, + {"GstVideoOverlayInterface", sizeof (GstVideoOverlayInterface), 48}, {NULL, 0, 0} }; -- 2.7.4