*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
*/
#ifndef __GST_RTPBUFFER_H__
* GstRTPBuffer:
* @buffer: pointer to RTP buffer
* @state: internal state
- * @n_map: number of mappings in @map
+ * @data: array of data
+ * @size: array of size
* @map: array of #GstMapInfo
*
* Data structure that points to an RTP packet.
{
GstBuffer *buffer;
guint state;
- guint n_map;
gpointer data[4];
gsize size[4];
GstMapInfo map[4];
};
-#define GST_RTP_BUFFER_INIT { NULL, 0, 0, { NULL, NULL, NULL, NULL}, { 0, 0, 0, 0 }, \
+#define GST_RTP_BUFFER_INIT { NULL, 0, { NULL, NULL, NULL, NULL}, { 0, 0, 0, 0 }, \
{ GST_MAP_INFO_INIT, GST_MAP_INFO_INIT, GST_MAP_INFO_INIT, GST_MAP_INFO_INIT} }
/* creating buffers */