diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-12-06 14:24:15 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-12-06 14:24:15 +0100 |
commit | c0e3974aa768316babdfd65052e94dabdf80a5df (patch) | |
tree | 63e22e380114ce257f0db0e381076e8d84c9ca11 | |
parent | ebc25e895f7fdd0b7d4e8eb873d1cd9601177b41 (diff) |
pad: remove GST_FLOW_RESEND
It is unused and undefined.
-rw-r--r-- | gst/gstpad.c | 1 | ||||
-rw-r--r-- | gst/gstpad.h | 3 | ||||
-rw-r--r-- | tests/check/gst/gstpad.c | 5 |
3 files changed, 0 insertions, 9 deletions
diff --git a/gst/gstpad.c b/gst/gstpad.c index aae7afeb4..665439771 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -171,7 +171,6 @@ typedef struct static GstFlowQuarks flow_quarks[] = { {GST_FLOW_CUSTOM_SUCCESS, "custom-success", 0}, - {GST_FLOW_RESEND, "resend", 0}, {GST_FLOW_OK, "ok", 0}, {GST_FLOW_NOT_LINKED, "not-linked", 0}, {GST_FLOW_WRONG_STATE, "wrong-state", 0}, diff --git a/gst/gstpad.h b/gst/gstpad.h index 590650a24..6289673f6 100644 --- a/gst/gstpad.h +++ b/gst/gstpad.h @@ -125,8 +125,6 @@ typedef enum { /** * GstFlowReturn: - * @GST_FLOW_RESEND: Resend buffer, possibly with new caps (not - * sent yet) (unused/unimplemented). * @GST_FLOW_OK: Data passing was ok. * @GST_FLOW_NOT_LINKED: Pad is not linked. * @GST_FLOW_WRONG_STATE: Pad is in wrong state. @@ -164,7 +162,6 @@ typedef enum { GST_FLOW_CUSTOM_SUCCESS = 100, /* core predefined */ - GST_FLOW_RESEND = 1, GST_FLOW_OK = 0, /* expected failures */ GST_FLOW_NOT_LINKED = -1, diff --git a/tests/check/gst/gstpad.c b/tests/check/gst/gstpad.c index acbd4bf41..f49a334ba 100644 --- a/tests/check/gst/gstpad.c +++ b/tests/check/gst/gstpad.c @@ -814,11 +814,6 @@ GST_START_TEST (test_flowreturn) quark = gst_flow_to_quark (ret); fail_if (strcmp (g_quark_to_string (quark), "eos")); - ret = GST_FLOW_RESEND; - fail_if (strcmp (gst_flow_get_name (ret), "resend")); - quark = gst_flow_to_quark (ret); - fail_if (strcmp (g_quark_to_string (quark), "resend")); - /* custom returns */ ret = GST_FLOW_CUSTOM_SUCCESS; fail_if (strcmp (gst_flow_get_name (ret), "custom-success")); |