Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
luzpaz
gstreamer
Commits
e0895690
Commit
e0895690
authored
Mar 26, 2012
by
Wim Taymans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
caps: remove old code
Remove attempt to delay _make_writable
parent
7a7119ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
gst/gstcaps.c
gst/gstcaps.c
+0
-6
No files found.
gst/gstcaps.c
View file @
e0895690
...
...
@@ -1498,7 +1498,6 @@ typedef struct _NormalizeForeach
{
GstCaps
*
caps
;
GstStructure
*
structure
;
gboolean
writable
;
}
NormalizeForeach
;
...
...
@@ -1516,10 +1515,6 @@ gst_caps_normalize_foreach (GQuark field_id, const GValue * value, gpointer ptr)
GstStructure
*
structure
=
gst_structure_copy
(
nf
->
structure
);
gst_structure_id_set_value
(
structure
,
field_id
,
v
);
if
(
G_UNLIKELY
(
!
nf
->
writable
))
{
nf
->
caps
=
gst_caps_make_writable
(
nf
->
caps
);
nf
->
writable
=
TRUE
;
}
gst_caps_append_structure_unchecked
(
nf
->
caps
,
structure
);
}
...
...
@@ -1555,7 +1550,6 @@ gst_caps_normalize (GstCaps * caps)
caps
=
gst_caps_make_writable
(
caps
);
nf
.
caps
=
caps
;
nf
.
writable
=
FALSE
;
for
(
i
=
0
;
i
<
gst_caps_get_size
(
nf
.
caps
);
i
++
)
{
nf
.
structure
=
gst_caps_get_structure_unchecked
(
nf
.
caps
,
i
);
...
...
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