<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 05/29/2015 07:33 AM, Hamdi Rakkez
wrote:<br>
</div>
<blockquote
cite="mid:CAFXmeVtg18bDzza4cD1M_wWsgK=bhde4k8yHSoPNZsiZpZuuuw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:'trebuchet
ms',sans-serif;font-size:large;color:rgb(7,55,99)">Hi all,</div>
<div class="gmail_default" style="font-family:'trebuchet
ms',sans-serif;font-size:large;color:rgb(7,55,99)"><br>
</div>
<div class="gmail_default" style="font-family:'trebuchet
ms',sans-serif;font-size:large;color:rgb(7,55,99)">What is the
replacement of "GST_BUFFER_CAPS" which is a property of
Gstreamer-0.10 in Gstreamer-1.0.</div>
</div>
</blockquote>
<br>
GstBuffer doesn't have a caps attribute anymore in 1.0. In the
pipeline, the caps is now passed as an event and the current caps
being used in a pad can be obtained with gst_pad_get_current_caps.
It is assumed that the buffers flowing from/to that pad are of the
type indicated by that caps.<br>
<br>
Additionally, there is no GstSample which encapsulates a GstBuffer
with a GstCaps that can be used when you need to have a caps
attached to a particular buffer but it is not used for the usual
flow of buffers in the pipeline.<br>
<br>
A porting guide can be found at
<a class="moz-txt-link-freetext" href="http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/random/porting-to-1.0.txt">http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/random/porting-to-1.0.txt</a><br>
<br>
<blockquote
cite="mid:CAFXmeVtg18bDzza4cD1M_wWsgK=bhde4k8yHSoPNZsiZpZuuuw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:'trebuchet
ms',sans-serif;font-size:large;color:rgb(7,55,99)"><br>
</div>
<div class="gmail_default" style="font-family:'trebuchet
ms',sans-serif;font-size:large;color:rgb(7,55,99)">Thank you.</div>
<div class="gmail_default" style="font-family:'trebuchet
ms',sans-serif;font-size:large;color:rgb(7,55,99)"><br>
</div>
<div class="gmail_default" style="font-family:'trebuchet
ms',sans-serif;font-size:large;color:rgb(7,55,99)">Best,</div>
<div class="gmail_default" style="font-family:'trebuchet
ms',sans-serif;font-size:large;color:rgb(7,55,99)">Hamdi</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Thiago Sousa Santos
Senior Multimedia Engineer, Open Source Group
Samsung Research America - Silicon Valley</pre>
</body>
</html>