The Interface porting between the 0.10 and 1.0 -- GstCaps
Sebastian Dröge
sebastian at centricular.com
Sun May 15 10:07:26 UTC 2016
On So, 2016-05-15 at 01:59 -0700, FranklinHuang wrote:
> hi Sebastian,
> Thanks your suggestion!
> I would try gst_app_sink_get_caps to get the caps,
appsink gives you a GstSample, not a GstBuffer. The GstSample contains
the buffer and its corresponding caps.
Getting the caps via gst_app_sink_get_caps() can give you caps that are
newer than your buffer, and as such wrong.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160515/a862751c/attachment.sig>
More information about the gstreamer-devel
mailing list