From afa31cfea03063a848ba4db5aa03001301839aa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 23 Jan 2008 10:34:40 +0000 Subject: Add documentation for the xingheader plugin. Original commit message from CVS: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: * gst/xingheader/gstxingmux.c: * gst/xingheader/gstxingmux.h: Add documentation for the xingheader plugin. * tests/check/elements/xingmux.c: (GST_START_TEST): Set element state to PLAYING before doing something else. --- tests/check/elements/xingmux.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/check/elements') diff --git a/tests/check/elements/xingmux.c b/tests/check/elements/xingmux.c index 05713531..52f27ceb 100644 --- a/tests/check/elements/xingmux.c +++ b/tests/check/elements/xingmux.c @@ -80,20 +80,20 @@ GST_START_TEST (test_xing_remux) GstElement *xingmux; GstBuffer *inbuffer; GList *it; - guint8 *verify_data; + const guint8 *verify_data; xingmux = setup_xingmux (); + fail_unless (gst_element_set_state (xingmux, + GST_STATE_PLAYING) == GST_STATE_CHANGE_SUCCESS, + "could not set to playing"); + inbuffer = gst_buffer_new_and_alloc (sizeof (test_xing)); memcpy (GST_BUFFER_DATA (inbuffer), test_xing, sizeof (test_xing)); gst_buffer_set_caps (inbuffer, GST_PAD_CAPS (mysrcpad)); ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); - - /* FIXME: why are the xingmux pads flushing? */ - fail_unless (gst_pad_push_event (mysrcpad, gst_event_new_flush_stop ())); - /* pushing gives away my reference ... */ fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); fail_unless (gst_pad_push_event (mysrcpad, gst_event_new_eos ())); -- cgit v1.2.1