GstBuffer* buf = gst_sample_get_buffer(sample);
GstMapInfo info;
gst_buffer_map(buf, &info, GST_MAP_READ);
guint8* dataPtr = info.data;
GstCaps* caps = gst_sample_get_caps(sample);
I want to get the PNG Buffer. using Decodebin not playbin. Not using opencv
So far I tried :
caps = gst_caps_from_string("image/png");
to_sample = gst_video_convert_sample(from_sample, caps,
GST_CLOCK_TIME_NONE, &err);///gst_video_convert_sample does not exists.
Can someonegive a proper example?
--
Sent from:
http://gstreamer-devel.966125.n4.nabble.com/_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel