GstBuffer data structure.

Farrel shametko_roman at tut.by
Wed May 9 07:51:30 PDT 2012


Hi All.
I've retrieved buffer from playbin2 via appsink. And I faced the following:
I know that picture resolution is 704*306. So it means that there is 215,424
pixels. Size property of GstBuffer is equal to 323,136. So as I understand
each pixel should be described by 323,136 / 215,424 = 1.5 bytes. 
Can anybody explain it? Or maybe I'm wrong, or it's all about buffer's
structure?
Thanks in advance.

PS. Sorry for my English.

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/GstBuffer-data-structure-tp4620679.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list