mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
pad: remove GST_FLOW_RESEND
It is unused and undefined.
This commit is contained in:
parent
ebc25e895f
commit
c0e3974aa7
3 changed files with 0 additions and 9 deletions
|
@ -171,7 +171,6 @@ typedef struct
|
||||||
|
|
||||||
static GstFlowQuarks flow_quarks[] = {
|
static GstFlowQuarks flow_quarks[] = {
|
||||||
{GST_FLOW_CUSTOM_SUCCESS, "custom-success", 0},
|
{GST_FLOW_CUSTOM_SUCCESS, "custom-success", 0},
|
||||||
{GST_FLOW_RESEND, "resend", 0},
|
|
||||||
{GST_FLOW_OK, "ok", 0},
|
{GST_FLOW_OK, "ok", 0},
|
||||||
{GST_FLOW_NOT_LINKED, "not-linked", 0},
|
{GST_FLOW_NOT_LINKED, "not-linked", 0},
|
||||||
{GST_FLOW_WRONG_STATE, "wrong-state", 0},
|
{GST_FLOW_WRONG_STATE, "wrong-state", 0},
|
||||||
|
|
|
@ -125,8 +125,6 @@ typedef enum {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GstFlowReturn:
|
* GstFlowReturn:
|
||||||
* @GST_FLOW_RESEND: Resend buffer, possibly with new caps (not
|
|
||||||
* sent yet) (unused/unimplemented).
|
|
||||||
* @GST_FLOW_OK: Data passing was ok.
|
* @GST_FLOW_OK: Data passing was ok.
|
||||||
* @GST_FLOW_NOT_LINKED: Pad is not linked.
|
* @GST_FLOW_NOT_LINKED: Pad is not linked.
|
||||||
* @GST_FLOW_WRONG_STATE: Pad is in wrong state.
|
* @GST_FLOW_WRONG_STATE: Pad is in wrong state.
|
||||||
|
@ -164,7 +162,6 @@ typedef enum {
|
||||||
GST_FLOW_CUSTOM_SUCCESS = 100,
|
GST_FLOW_CUSTOM_SUCCESS = 100,
|
||||||
|
|
||||||
/* core predefined */
|
/* core predefined */
|
||||||
GST_FLOW_RESEND = 1,
|
|
||||||
GST_FLOW_OK = 0,
|
GST_FLOW_OK = 0,
|
||||||
/* expected failures */
|
/* expected failures */
|
||||||
GST_FLOW_NOT_LINKED = -1,
|
GST_FLOW_NOT_LINKED = -1,
|
||||||
|
|
|
@ -814,11 +814,6 @@ GST_START_TEST (test_flowreturn)
|
||||||
quark = gst_flow_to_quark (ret);
|
quark = gst_flow_to_quark (ret);
|
||||||
fail_if (strcmp (g_quark_to_string (quark), "eos"));
|
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 */
|
/* custom returns */
|
||||||
ret = GST_FLOW_CUSTOM_SUCCESS;
|
ret = GST_FLOW_CUSTOM_SUCCESS;
|
||||||
fail_if (strcmp (gst_flow_get_name (ret), "custom-success"));
|
fail_if (strcmp (gst_flow_get_name (ret), "custom-success"));
|
||||||
|
|
Loading…
Reference in a new issue