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
(from parent 1:
d7fe261
)
gdppay: make newsegment buffer metadata writable
author
David Schleef
<ds@schleef.org>
Sun, 16 Jan 2011 22:55:46 +0000
(14:55 -0800)
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 ea8595b283d5f75c681ff146aa23ea1389a7226c..f9e27da1e0d31b1d862240490c7fb2f761250b39 100644
(file)
--- a/
gst/gdp/gstgdppay.c
+++ b/
gst/gdp/gstgdppay.c
@@
-475,6
+475,8
@@
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);
gst_buffer_set_caps (this->caps_buf, caps);
+ this->new_segment_buf =
+ gst_buffer_make_metadata_writable (this->new_segment_buf);
gst_buffer_set_caps (this->new_segment_buf, caps);
/* if these are our first ever buffers, send out new_segment first */