gst-libs/gst/rtp/: Fix and activate base audio payloader.

Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
(gst_base_rtp_audio_payload_init):
Fix and activate base audio payloader.
This commit is contained in:
Wim Taymans 2006-10-31 10:49:19 +00:00
parent 3a929f7bcc
commit 351622d028
3 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2006-10-31 Wim Taymans <wim@fluendo.com>
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
(gst_base_rtp_audio_payload_init):
Fix and activate base audio payloader.
2006-10-28 Tim-Philipp Müller <tim at centricular dot net> 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
* gst/typefind/gsttypefindfunctions.c: (qtif_type_find), * gst/typefind/gsttypefindfunctions.c: (qtif_type_find),

View file

@ -1,12 +1,14 @@
libgstrtpincludedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/rtp libgstrtpincludedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/rtp
libgstrtpinclude_HEADERS = gstrtpbuffer.h \ libgstrtpinclude_HEADERS = gstrtpbuffer.h \
gstbasertpaudiopayload.h \
gstbasertppayload.h \ gstbasertppayload.h \
gstbasertpdepayload.h gstbasertpdepayload.h
lib_LTLIBRARIES = libgstrtp-@GST_MAJORMINOR@.la lib_LTLIBRARIES = libgstrtp-@GST_MAJORMINOR@.la
libgstrtp_@GST_MAJORMINOR@_la_SOURCES = gstrtpbuffer.c \ libgstrtp_@GST_MAJORMINOR@_la_SOURCES = gstrtpbuffer.c \
gstbasertpaudiopayload.c \
gstbasertppayload.c \ gstbasertppayload.c \
gstbasertpdepayload.c gstbasertpdepayload.c

View file

@ -81,7 +81,7 @@ struct _GstBaseRTPAudioPayloadPrivate
}; };
#define GST_BASE_RTP_AUDIO_PAYLOAD_GET_PRIVATE(o) \ #define GST_BASE_RTP_AUDIO_PAYLOAD_GET_PRIVATE(o) \
(G_TYPE_INSTANCE_GET_PRIVATE ((o), GST_BASE_RTP_AUDIO_PAYLOAD, \ (G_TYPE_INSTANCE_GET_PRIVATE ((o), GST_TYPE_BASE_RTP_AUDIO_PAYLOAD, \
GstBaseRTPAudioPayloadPrivate)) GstBaseRTPAudioPayloadPrivate))
static void gst_base_rtp_audio_payload_finalize (GObject * object); static void gst_base_rtp_audio_payload_finalize (GObject * object);
@ -137,7 +137,8 @@ static void
gst_base_rtp_audio_payload_init (GstBaseRTPAudioPayload * basertpaudiopayload, gst_base_rtp_audio_payload_init (GstBaseRTPAudioPayload * basertpaudiopayload,
GstBaseRTPAudioPayloadClass * klass) GstBaseRTPAudioPayloadClass * klass)
{ {
basertpaudiopayload->priv = GST_BASE_RTP_AUDIO_PAYLOAD_GET_PRIVATE (self); basertpaudiopayload->priv =
GST_BASE_RTP_AUDIO_PAYLOAD_GET_PRIVATE (basertpaudiopayload);
basertpaudiopayload->base_ts = 0; basertpaudiopayload->base_ts = 0;