+2006-09-20 Wim Taymans <wim@fluendo.com>
+
+ * tests/check/elements/gdpdepay.c: (GST_START_TEST):
+ * tests/check/elements/multifdsink.c: (GST_START_TEST):
+ * tests/check/elements/videorate.c: (GST_START_TEST):
+ * tests/check/libs/cddabasesrc.c: (GST_START_TEST):
+ * tests/check/pipelines/oggmux.c: (eos_buffer_probe):
+ Fix some warnings.
+
2006-09-20 Stefan Kost <ensonic@users.sf.net>
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
GstCaps *caps;
GstPad *srcpad;
GstElement *gdpdepay;
- GstBuffer *buffer, *inbuffer, *outbuffer;
- gint length;
+ GstBuffer *buffer, *outbuffer;
guint8 *header, *payload;
guint len;
- guint i;
gdpdepay = setup_gdpdepay ();
srcpad = gst_element_get_pad (gdpdepay, "src");
GstCaps *caps;
GstPad *srcpad;
GstElement *gdpdepay;
- GstBuffer *buffer, *inbuffer, *outbuffer;
- gint length;
- guint8 *caps_header, *caps_payload, *buf_header, *buf_payload;
+ GstBuffer *buffer, *inbuffer;
+ guint8 *caps_header, *caps_payload, *buf_header;
guint header_len, payload_len;
guint i;
GstPad *srcpad;
GstElement *gdpdepay;
GstBuffer *buffer, *inbuffer, *outbuffer, *shbuffer;
- gint length;
- guint8 *caps_header, *caps_payload, *buf_header, *buf_payload;
+ guint8 *caps_header, *caps_payload, *buf_header;
guint header_len, payload_len;
guint i;
GstStructure *structure;
GstCaps *caps;
int pfd[2];
gchar data[4];
- guint64 bytes_served;
sink = setup_multifdsink ();
GstElement *sink;
GstBuffer *hbuf1, *hbuf2, *buf;
GstCaps *caps;
- GstStructure *structure;
int pfd1[2], pfd2[2];
- guint8 data[12];
- guint64 bytes_served;
- int avail;
sink = setup_multifdsink ();
GstElement *sink;
GstBuffer *hbuf1, *hbuf2, *buf;
GstCaps *caps;
- GstStructure *structure;
int pfd1[2], pfd2[2];
- guint8 data[12];
- GValue array = { 0 };
- GValue value = { 0 };
- guint64 bytes_served;
- int avail;
sink = setup_multifdsink ();
int pfd2[2];
int pfd3[2];
gchar data[16];
- guint64 bytes_served;
gint i;
guint buffers_queued;
int pfd2[2];
int pfd3[2];
gchar data[16];
- guint64 bytes_served;
gint i;
guint buffers_queued;
int pfd2[2];
int pfd3[2];
gchar data[16];
- guint64 bytes_served;
gint i;
guint buffers_queued;
GstCaps *caps;
int pfd1[2];
gchar data[16];
- guint64 bytes_served;
gint i;
- guint buffers_queued;
sink = setup_multifdsink ();
g_object_set (sink, "sync-method", 1, NULL); /* 1 = next-keyframe */
GST_START_TEST (test_one)
{
GstElement *videorate;
- GstBuffer *inbuffer, *outbuffer;
+ GstBuffer *inbuffer;
GstCaps *caps;
videorate = setup_videorate ();
GstElement *videorate;
GstBuffer *first, *second, *third, *outbuffer;
GstCaps *caps;
- guint64 in, out, dropped, duplicated;
videorate = setup_videorate ();
fail_unless (gst_element_set_state (videorate,
GstElement *videorate;
GstBuffer *first, *second, *third, *fourth, *outbuffer;
GstCaps *caps;
- guint64 in, out, dropped, duplicated;
videorate = setup_videorate ();
fail_unless (gst_element_set_state (videorate,
GST_START_TEST (test_no_framerate)
{
GstElement *videorate;
- GstBuffer *inbuffer, *outbuffer;
+ GstBuffer *inbuffer;
GstCaps *caps;
videorate = setup_videorate ();
gst_buffer_straw_start_pipeline (pipeline, sinkpad);
+ prev_ts = GST_CLOCK_TIME_NONE;
+ prev_duration = GST_CLOCK_TIME_NONE;
+
for (i = 0; i < 100; ++i) {
GstBuffer *buf;
memcpy (oggbuffer, data, size);
ogg_sync_wrote (&oggsync, size);
- while (ret != 0) {
+ do {
ogg_page page;
ret = ogg_sync_pageout (&oggsync, &page);
if (ret > 0)
validate_ogg_page (&page);
}
+ while (ret != 0);
return TRUE;
}