mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 21:51:09 +00:00
9a5c8cd25e
Original commit message from CVS: * gst/rtp/Makefile.am: * gst/rtp/gstrtp-common.h: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtpL16enc.h: * gst/rtp/gstrtpdec.c: (gst_rtpdec_get_type), (gst_rtpdec_class_init), (gst_rtpdec_chain_rtp), (gst_rtpdec_chain_rtcp), (gst_rtpdec_change_state), (gst_rtpdec_plugin_init): * gst/rtp/gstrtph263pdec.c: (gst_rtph263pdec_get_type), (gst_rtph263pdec_base_init), (gst_rtph263pdec_class_init), (gst_rtph263pdec_init), (gst_rtph263pdec_chain), (gst_rtph263pdec_set_property), (gst_rtph263pdec_get_property), (gst_rtph263pdec_change_state), (gst_rtph263pdec_plugin_init): * gst/rtp/gstrtph263pdec.h: * gst/rtp/gstrtph263penc.c: (gst_rtph263penc_get_type), (gst_rtph263penc_base_init), (gst_rtph263penc_class_init), (gst_rtph263penc_init), (gst_rtph263penc_flush), (gst_rtph263penc_chain), (gst_rtph263penc_set_property), (gst_rtph263penc_get_property), (gst_rtph263penc_change_state), (gst_rtph263penc_plugin_init): * gst/rtp/gstrtph263penc.h: * gst/rtp/gstrtpmpadec.c: (gst_rtpmpadec_get_type), (gst_rtpmpadec_base_init), (gst_rtpmpadec_class_init), (gst_rtpmpadec_init), (gst_rtpmpadec_chain), (gst_rtpmpadec_set_property), (gst_rtpmpadec_get_property), (gst_rtpmpadec_change_state), (gst_rtpmpadec_plugin_init): * gst/rtp/gstrtpmpadec.h: * gst/rtp/gstrtpmpaenc.c: (gst_rtpmpaenc_get_type), (gst_rtpmpaenc_base_init), (gst_rtpmpaenc_class_init), (gst_rtpmpaenc_init), (gst_rtpmpaenc_flush), (gst_rtpmpaenc_chain), (gst_rtpmpaenc_set_property), (gst_rtpmpaenc_get_property), (gst_rtpmpaenc_change_state), (gst_rtpmpaenc_plugin_init): * gst/rtp/gstrtpmpaenc.h: * gst/rtp/rtp-packet.c: * gst/rtp/rtp-packet.h: Remove old code that is now in gst-libs/gst/rtp/. Added some payload/depayloaders. * gst/udp/gstudpsink.c: (gst_udpsink_class_init): Fix port number range.
72 lines
2.1 KiB
C
72 lines
2.1 KiB
C
/* Gnome-Streamer
|
|
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Library General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Library General Public License for more details.
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
|
|
#ifndef __GST_RTP_L16_ENC_H__
|
|
#define __GST_RTP_L16_ENC_H__
|
|
|
|
#include <gst/gst.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
/* Definition of structure storing data for this element. */
|
|
typedef struct _GstRtpL16Enc GstRtpL16Enc;
|
|
struct _GstRtpL16Enc
|
|
{
|
|
GstElement element;
|
|
|
|
GstPad *sinkpad;
|
|
GstPad *srcpad;
|
|
|
|
guint frequency;
|
|
guint channels;
|
|
|
|
/* the timestamp of the next frame */
|
|
guint64 next_time;
|
|
/* the interval between frames */
|
|
guint64 time_interval;
|
|
|
|
guint32 ssrc;
|
|
guint16 seq;
|
|
};
|
|
|
|
/* Standard definition defining a class for this element. */
|
|
typedef struct _GstRtpL16EncClass GstRtpL16EncClass;
|
|
struct _GstRtpL16EncClass
|
|
{
|
|
GstElementClass parent_class;
|
|
};
|
|
|
|
/* Standard macros for defining types for this element. */
|
|
#define GST_TYPE_RTP_L16_ENC \
|
|
(gst_rtpL16enc_get_type())
|
|
#define GST_RTP_L16_ENC(obj) \
|
|
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_L16_ENC,GstRtpL16Enc))
|
|
#define GST_RTP_L16_ENC_CLASS(klass) \
|
|
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_L16_ENC,GstRtpL16Enc))
|
|
#define GST_IS_RTP_L16_ENC(obj) \
|
|
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_RTP_L16_ENC))
|
|
#define GST_IS_RTP_L16_ENC_CLASS(obj) \
|
|
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTP_L16_ENC))
|
|
|
|
gboolean gst_rtpL16enc_plugin_init (GstPlugin * plugin);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GST_RTP_L16_ENC_H__ */
|