aboutsummaryrefslogtreecommitdiff
path: root/docs/gst/html/gstreamer-GstSample.html
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2013-08-30 12:35:14 +0200
committerSebastian Dröge <slomo@circular-chaos.org>2013-08-30 12:35:14 +0200
commit63f38155df9cb281e4d48dbc14389e66446436f2 (patch)
treec1e9bdd098a86c3c46af4828367a262bdebfaaaa /docs/gst/html/gstreamer-GstSample.html
parentab458c2ee68b132b62e498fcf293c2ec44477faf (diff)
Imported Upstream version 1.1.4upstream/1.1.4
Diffstat (limited to 'docs/gst/html/gstreamer-GstSample.html')
-rw-r--r--docs/gst/html/gstreamer-GstSample.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/gst/html/gstreamer-GstSample.html b/docs/gst/html/gstreamer-GstSample.html
index 230b214..3ad9528 100644
--- a/docs/gst/html/gstreamer-GstSample.html
+++ b/docs/gst/html/gstreamer-GstSample.html
@@ -95,7 +95,9 @@ Get the buffer associated with <em class="parameter"><code>sample</code></em>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the buffer of <em class="parameter"><code>sample</code></em> or NULL when there
-is no buffer. The buffer remains valid as long as <em class="parameter"><code>sample</code></em> is valid. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+is no buffer. The buffer remains valid as long as <em class="parameter"><code>sample</code></em> is valid.
+If you need to hold on to it for longer than that, take a ref to
+the buffer with <a class="link" href="gstreamer-GstBuffer.html#gst-buffer-ref" title="gst_buffer_ref ()"><code class="function">gst_buffer_ref()</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
@@ -122,7 +124,9 @@ Get the caps associated with <em class="parameter"><code>sample</code></em>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the caps of <em class="parameter"><code>sample</code></em> or NULL when there
-is no caps. The caps remain valid as long as <em class="parameter"><code>sample</code></em> is valid. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+is no caps. The caps remain valid as long as <em class="parameter"><code>sample</code></em> is valid.
+If you need to hold on to the caps for longer than that, take a ref to
+the caps with <a class="link" href="gstreamer-GstCaps.html#gst-caps-ref" title="gst_caps_ref ()"><code class="function">gst_caps_ref()</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>