Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gstreamer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
luzpaz
gstreamer
Commits
c0e3974a
Commit
c0e3974a
authored
Dec 06, 2011
by
Wim Taymans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pad: remove GST_FLOW_RESEND
It is unused and undefined.
parent
ebc25e89
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
9 deletions
+0
-9
gst/gstpad.c
gst/gstpad.c
+0
-1
gst/gstpad.h
gst/gstpad.h
+0
-3
tests/check/gst/gstpad.c
tests/check/gst/gstpad.c
+0
-5
No files found.
gst/gstpad.c
View file @
c0e3974a
...
...
@@ -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
},
...
...
gst/gstpad.h
View file @
c0e3974a
...
...
@@ -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
,
...
...
tests/check/gst/gstpad.c
View file @
c0e3974a
...
...
@@ -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"
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment