projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70c3994
)
gdppay: ensure buffer's metadata is writable before setting caps
author
Andoni Morales Alastruey
<amorales@flumotion.com>
Wed, 9 Feb 2011 11:45:23 +0000
(12:45 +0100)
committer
Tim-Philipp Müller
<tim@centricular.net>
Tue, 11 Sep 2012 00:54:33 +0000
(
01:54
+0100)
gst/gdp/gstgdppay.c
patch
|
blob
|
history
diff --git
a/gst/gdp/gstgdppay.c
b/gst/gdp/gstgdppay.c
index
f9e27da
..
6da4967
100644
(file)
--- a/
gst/gdp/gstgdppay.c
+++ b/
gst/gdp/gstgdppay.c
@@
-474,6
+474,7
@@
gst_gdp_pay_reset_streamheader (GstGDPPay * this)
GST_DEBUG_OBJECT (this, "Setting caps on src pad %" GST_PTR_FORMAT, caps);
gst_pad_set_caps (this->srcpad, caps);
+ this->caps_buf = gst_buffer_make_metadata_writable (this->caps_buf);
gst_buffer_set_caps (this->caps_buf, caps);
this->new_segment_buf =
gst_buffer_make_metadata_writable (this->new_segment_buf);