projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
caps: add fixate function
[platform/upstream/gstreamer.git]
/
gst
/
gstpad.c
diff --git
a/gst/gstpad.c
b/gst/gstpad.c
index
4cfcea8
..
e08e396
100644
(file)
--- a/
gst/gstpad.c
+++ b/
gst/gstpad.c
@@
-2491,12
+2491,8
@@
no_peer:
static void
gst_pad_default_fixate (GstPad * pad, GstCaps * caps)
{
- GstStructure *s;
-
/* default fixation */
- gst_caps_truncate (caps);
- s = gst_caps_get_structure (caps, 0);
- gst_structure_fixate (s);
+ gst_caps_fixate (caps);
}
/**