Commit f0ca3388 authored by Jan Schmidt's avatar Jan Schmidt
Browse files

tests/check/Makefile.am: Fix CFLAGS to also pull in the gstcheck cflags from AM_CFLAGS.

Original commit message from CVS:
* tests/check/Makefile.am:
Fix CFLAGS to also pull in the gstcheck cflags from AM_CFLAGS.
* tests/check/elements/audiorate.c: (do_perfect_stream_test):
* tests/check/elements/playbin.c:
* tests/check/libs/mixer.c: (test_element_interface_supported),
(gst_implements_interface_init):
* tests/check/libs/rtp.c: (GST_START_TEST):
Fix various assignment type mismatches.
parent fa2f3fb9
2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
* tests/check/Makefile.am:
Fix CFLAGS to also pull in the gstcheck cflags from AM_CFLAGS.
* tests/check/elements/audiorate.c: (do_perfect_stream_test):
* tests/check/elements/playbin.c:
* tests/check/libs/mixer.c: (test_element_interface_supported),
(gst_implements_interface_init):
* tests/check/libs/rtp.c: (GST_START_TEST):
Fix various assignment type mismatches.
2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
 
* configure.ac:
......@@ -288,7 +288,7 @@ pipelines_vorbisdec_CFLAGS = $(AM_CFLAGS)
pipelines_oggmux_LDADD = $(LDADD) $(OGG_LIBS)
pipelines_oggmux_CFLAGS = $(AM_CFLAGS) $(OGG_CFLAGS)
pipelines_theoraenc_CFLAGS = $(GST_CFLAGS) $(THEORA_CFLAGS)
pipelines_theoraenc_CFLAGS = $(AM_CFLAGS) $(THEORA_CFLAGS)
pipelines_theoraenc_LDADD = $(LDADD) $(THEORA_LIBS)
pipelines_simple_launch_lines_CFLAGS = \
......
......@@ -191,7 +191,7 @@ do_perfect_stream_test (guint rate, guint width, gdouble drop_probability,
GstPad *srcpad;
GList *l, *bufs = NULL;
GstClockTime next_time = GST_CLOCK_TIME_NONE;
gint64 next_offset = GST_BUFFER_OFFSET_NONE;
guint64 next_offset = GST_BUFFER_OFFSET_NONE;
caps = gst_caps_new_simple ("audio/x-raw-int", "rate", G_TYPE_INT,
rate, "width", G_TYPE_INT, width, NULL);
......
......@@ -378,7 +378,7 @@ DEFINE_TEST (test_missing_primary_decoder)
/*** redvideo:// source ***/
static guint
static GstURIType
gst_red_video_src_uri_get_type (void)
{
return GST_URI_SRC;
......@@ -487,7 +487,7 @@ gst_red_video_src_init (GstRedVideoSrc * src, GstRedVideoSrcClass * klass)
/*** codec:// source ***/
static guint
static GstURIType
gst_codec_src_uri_get_type (void)
{
return GST_URI_SRC;
......
......@@ -87,7 +87,8 @@ test_element_class_init (TestElementClass * klass)
}
static gboolean
test_element_interface_supported (TestElement * this, GType interface_type)
test_element_interface_supported (GstImplementsInterface * ifacE,
GType interface_type)
{
if (interface_type == GST_TYPE_MIXER)
return TRUE;
......@@ -98,7 +99,7 @@ test_element_interface_supported (TestElement * this, GType interface_type)
static void
gst_implements_interface_init (GstImplementsInterfaceClass * klass)
{
klass->supported = (gpointer) test_element_interface_supported;
klass->supported = test_element_interface_supported;
}
static void
......
......@@ -66,8 +66,8 @@ GST_START_TEST (test_rtp_buffer)
/* check ssrc offset */
gst_rtp_buffer_set_ssrc (buf, 0xf04043C2);
fail_unless_equals_int (gst_rtp_buffer_get_ssrc (buf), 0xf04043c2);
fail_unless_equals_int (GST_READ_UINT32_BE (data + 4 + 4), 0xf04043c2);
fail_unless_equals_int (gst_rtp_buffer_get_ssrc (buf), (gint) 0xf04043c2);
fail_unless_equals_int (GST_READ_UINT32_BE (data + 4 + 4), (gint) 0xf04043c2);
gst_rtp_buffer_set_ssrc (buf, 0);
fail_unless_equals_int (gst_rtp_buffer_get_ssrc (buf), 0);
fail_unless_equals_int (GST_READ_UINT32_BE (data + 4 + 4), 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment