buffer = gst_buffer_new_and_alloc (20);
buffer_alloc_pt1_called = FALSE;
- set_caps_pt1_called = FALSE;;
+ set_caps_pt1_called = FALSE;
res = gst_test_trans_push (trans, buffer);
fail_unless (res == GST_FLOW_OK);
/* FIXME, passthough without pad-alloc, do pad-alloc on the srcpad */
buffer = gst_buffer_new_and_alloc (10);
buffer_alloc_pt1_called = FALSE;
- set_caps_pt1_called = FALSE;;
+ set_caps_pt1_called = FALSE;
res = gst_test_trans_push (trans, buffer);
fail_unless (res == GST_FLOW_OK);
/* FIXME, passthough without pad-alloc, do pad-alloc on the srcpad */
GST_DEBUG_OBJECT (trans, "alloc without caps, size 20");
buffer_alloc_pt1_called = FALSE;
- set_caps_pt1_called = FALSE;;
+ set_caps_pt1_called = FALSE;
res = gst_pad_alloc_buffer (trans->srcpad, 0, 20, NULL, &buffer);
fail_unless (res == GST_FLOW_OK);
fail_unless (buffer_alloc_pt1_called == TRUE);
caps = gst_caps_new_simple ("foo/x-bar", NULL);
buffer_alloc_pt1_called = FALSE;
- set_caps_pt1_called = FALSE;;
+ set_caps_pt1_called = FALSE;
res = gst_pad_alloc_buffer (trans->srcpad, 0, 10, caps, &buffer);
fail_unless (res == GST_FLOW_OK);
fail_unless (buffer_alloc_pt1_called == TRUE);
/* once more */
buffer_alloc_pt1_called = FALSE;
- set_caps_pt1_called = FALSE;;
+ set_caps_pt1_called = FALSE;
res = gst_pad_alloc_buffer (trans->srcpad, 0, 10, caps, &buffer);
fail_unless (res == GST_FLOW_OK);
fail_unless (buffer_alloc_pt1_called == TRUE);
GST_DEBUG_OBJECT (trans, "alloc with caps, size 20");
buffer_alloc_pt1_called = FALSE;
- set_caps_pt2_called = FALSE;;
+ set_caps_pt2_called = FALSE;
res = gst_pad_alloc_buffer (trans->srcpad, 0, 20, caps, &buffer);
fail_unless (res == GST_FLOW_OK);
fail_unless (buffer_alloc_pt1_called == TRUE);
GST_DEBUG_OBJECT (trans, "alloc with caps, size 20");
buffer_alloc_pt1_called = FALSE;
- set_caps_pt2_called = FALSE;;
+ set_caps_pt2_called = FALSE;
res = gst_pad_alloc_buffer (trans->srcpad, 0, 20, caps, &buffer);
fail_unless (res == GST_FLOW_OK);
fail_unless (buffer_alloc_pt1_called == TRUE);
GST_DEBUG_OBJECT (trans, "alloc with superset caps, size 20");
buffer_alloc_pt1_called = FALSE;
- set_caps_pt2_called = FALSE;;
+ set_caps_pt2_called = FALSE;
res = gst_pad_alloc_buffer (trans->srcpad, 0, 20, caps, &buffer);
fail_unless (res == GST_FLOW_OK);
fail_unless (buffer_alloc_pt1_called == TRUE);
buffer = gst_buffer_new_and_alloc (20);
- transform_ip_1_called = FALSE;;
- transform_ip_1_writable = TRUE;;
+ transform_ip_1_called = FALSE;
+ transform_ip_1_writable = TRUE;
buffer_alloc_pt1_called = FALSE;
res = gst_test_trans_push (trans, buffer);
fail_unless (res == GST_FLOW_OK);
fail_unless (GST_MINI_OBJECT_REFCOUNT_VALUE (buffer) == 2);
- transform_ip_1_called = FALSE;;
- transform_ip_1_writable = FALSE;;
+ transform_ip_1_called = FALSE;
+ transform_ip_1_writable = FALSE;
buffer_alloc_pt1_called = FALSE;
res = gst_test_trans_push (trans, buffer);
fail_unless (res == GST_FLOW_OK);
GST_DEBUG_OBJECT (trans, "buffer without caps, size 20");
- transform_ip_1_called = FALSE;;
- transform_ip_1_writable = FALSE;;
+ transform_ip_1_called = FALSE;
+ transform_ip_1_writable = FALSE;
buffer_alloc_pt1_called = FALSE;
- set_caps_1_called = FALSE;;
+ set_caps_1_called = FALSE;
res = gst_test_trans_push (trans, buffer);
fail_unless (res == GST_FLOW_NOT_NEGOTIATED);
fail_unless (transform_ip_1_called == FALSE);
transform_ip_1_called = FALSE;
transform_ip_1_writable = FALSE;
- set_caps_1_called = FALSE;;
+ set_caps_1_called = FALSE;
buffer_alloc_pt1_called = FALSE;
res = gst_test_trans_push (trans, buffer);
fail_unless (res == GST_FLOW_OK);
fail_unless (GST_MINI_OBJECT_REFCOUNT_VALUE (buffer) == 2);
- transform_ip_1_called = FALSE;;
- transform_ip_1_writable = FALSE;;
+ transform_ip_1_called = FALSE;
+ transform_ip_1_writable = FALSE;
buffer_alloc_pt1_called = FALSE;
res = gst_test_trans_push (trans, buffer);
fail_unless (res == GST_FLOW_OK);
fail_unless (gst_caps_is_equal (incaps, caps1));
fail_unless (gst_caps_is_equal (outcaps, caps2));
- set_caps_ct1_called = TRUE;;
+ set_caps_ct1_called = TRUE;
gst_caps_unref (caps1);
gst_caps_unref (caps2);
GST_DEBUG_OBJECT (trans, "buffer without caps");
- transform_ct1_called = FALSE;;
- transform_ct1_writable = FALSE;;
- set_caps_ct1_called = FALSE;;
+ transform_ct1_called = FALSE;
+ transform_ct1_writable = FALSE;
+ set_caps_ct1_called = FALSE;
buffer_alloc_ct1_called = FALSE;
res = gst_test_trans_push (trans, buffer);
fail_unless (res == GST_FLOW_NOT_NEGOTIATED);
transform_ct1_called = FALSE;
transform_ct1_writable = FALSE;
- set_caps_ct1_called = FALSE;;
+ set_caps_ct1_called = FALSE;
buffer_alloc_ct1_called = FALSE;
res = gst_test_trans_push (trans, buffer);
fail_unless (res == GST_FLOW_OK);
GST_DEBUG_OBJECT (trans, "buffer with caps %" GST_PTR_FORMAT, incaps);
- transform_ct1_called = FALSE;;
- transform_ct1_writable = FALSE;;
+ transform_ct1_called = FALSE;
+ transform_ct1_writable = FALSE;
buffer_alloc_ct1_called = FALSE;
res = gst_test_trans_push (trans, buffer);
fail_unless (res == GST_FLOW_OK);
fail_unless (gst_caps_is_equal (incaps, caps1));
fail_unless (gst_caps_is_equal (outcaps, caps2));
- set_caps_ct2_called = TRUE;;
+ set_caps_ct2_called = TRUE;
gst_caps_unref (caps1);
gst_caps_unref (caps2);
GST_DEBUG_OBJECT (trans, "buffer without caps");
- transform_ct2_called = FALSE;;
- transform_ct2_writable = FALSE;;
- set_caps_ct2_called = FALSE;;
+ transform_ct2_called = FALSE;
+ transform_ct2_writable = FALSE;
+ set_caps_ct2_called = FALSE;
buffer_alloc_ct2_called = FALSE;
res = gst_test_trans_push (trans, buffer);
fail_unless (res == GST_FLOW_NOT_NEGOTIATED);
set_caps_ct2_case = 1;
transform_ct2_called = FALSE;
transform_ct2_writable = FALSE;
- set_caps_ct2_called = FALSE;;
+ set_caps_ct2_called = FALSE;
buffer_alloc_ct2_called = FALSE;
res = gst_test_trans_push (trans, buffer);
fail_unless (res == GST_FLOW_OK);
GST_DEBUG_OBJECT (trans, "buffer with caps %" GST_PTR_FORMAT, incaps);
- transform_ct2_called = FALSE;;
- transform_ct2_writable = FALSE;;
+ transform_ct2_called = FALSE;
+ transform_ct2_writable = FALSE;
buffer_alloc_ct2_called = FALSE;
res = gst_test_trans_push (trans, buffer);
fail_unless (res == GST_FLOW_OK);
GST_DEBUG_OBJECT (trans, "buffer without caps");
- transform_ct2_called = FALSE;;
- transform_ct2_writable = FALSE;;
- set_caps_ct2_called = FALSE;;
+ transform_ct2_called = FALSE;
+ transform_ct2_writable = FALSE;
+ set_caps_ct2_called = FALSE;
buffer_alloc_ct2_called = FALSE;
res = gst_test_trans_push (trans, buffer);
fail_unless (res == GST_FLOW_NOT_NEGOTIATED);
buffer_alloc_ct2_case = 1;
set_caps_ct2_case = 1;
transform_ct2_called = FALSE;
- set_caps_ct2_called = FALSE;;
+ set_caps_ct2_called = FALSE;
buffer_alloc_ct2_called = FALSE;
res = gst_test_trans_push (trans, buffer);
fail_unless (res == GST_FLOW_OK);
GST_DEBUG_OBJECT (trans, "buffer with caps %" GST_PTR_FORMAT, incaps);
- transform_ct2_called = FALSE;;
+ transform_ct2_called = FALSE;
buffer_alloc_ct2_called = FALSE;
res = gst_test_trans_push (trans, buffer);
fail_unless (res == GST_FLOW_OK);
/* don't suggest anything else */
buffer_alloc_ct2_case = 1;
set_caps_ct2_case = 2;
- transform_ct2_called = FALSE;;
+ transform_ct2_called = FALSE;
buffer_alloc_ct2_called = FALSE;
res = gst_test_trans_push (trans, buffer);
fail_unless (res == GST_FLOW_OK);
set_caps_ct2_case = 0;
buffer_alloc_ct2_case = 1;
buffer_alloc_ct2_called = FALSE;
- set_caps_ct2_called = FALSE;;
+ set_caps_ct2_called = FALSE;
res = gst_pad_alloc_buffer (trans->srcpad, 0, 10, incaps, &buffer);
fail_unless (res == GST_FLOW_OK);
fail_unless (buffer_alloc_ct2_called == TRUE);
/* don't suggest anything else */
buffer_alloc_ct2_suggest = FALSE;
buffer_alloc_ct2_case = 0;
- transform_ct2_called = FALSE;;
+ transform_ct2_called = FALSE;
buffer_alloc_ct2_called = FALSE;
res = gst_test_trans_push (trans, buffer);
fail_unless (res == GST_FLOW_OK);