summaryrefslogtreecommitdiffstats
path: root/gst/rtpmanager/gstrtpptdemux.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-04-11 13:49:54 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-08-11 02:30:24 +0100
commit03bf43d50edb50f8114419cd62278afd7f67922b (patch)
tree74c3e9532a8cabbeeaf0d9d87581a74b9ae2254d /gst/rtpmanager/gstrtpptdemux.h
parent8c67b5d7dd1457aa0bafc89fbd022a0a6d79088c (diff)
gst/rtpmanager/gstrtpbin-marshal.list: Some more custom marshallers.
Original commit message from CVS: * gst/rtpmanager/gstrtpbin-marshal.list: Some more custom marshallers. * gst/rtpmanager/gstrtpbin.c: (create_session), (get_pt_map), (clock_rate_request), (create_stream), (gst_rtp_bin_class_init), (pt_map_requested), (new_ssrc_pad_found), (create_recv_rtp): * gst/rtpmanager/gstrtpbin.h: Prepare for caching pt maps. Connect to signals to collect pt maps. * gst/rtpmanager/gstrtpjitterbuffer.c: (gst_rtp_jitter_buffer_class_init), (gst_jitter_buffer_sink_setcaps), (gst_rtp_jitter_buffer_loop): * gst/rtpmanager/gstrtpjitterbuffer.h: Add request_clock_rate signal. Use scale insteat of scale_int because the later does not deal with negative numbers. * gst/rtpmanager/gstrtpptdemux.c: (gst_rtp_pt_demux_class_init), (gst_rtp_pt_demux_chain): * gst/rtpmanager/gstrtpptdemux.h: Implement request-pt-map signal.
Diffstat (limited to 'gst/rtpmanager/gstrtpptdemux.h')
-rw-r--r--gst/rtpmanager/gstrtpptdemux.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gst/rtpmanager/gstrtpptdemux.h b/gst/rtpmanager/gstrtpptdemux.h
index 93be3959..7d6d7b4f 100644
--- a/gst/rtpmanager/gstrtpptdemux.h
+++ b/gst/rtpmanager/gstrtpptdemux.h
@@ -45,11 +45,14 @@ struct _GstRTPPtDemuxClass
{
GstElementClass parent_class;
+ /* get the caps for pt */
+ GstCaps* (*request_pt_map) (GstRTPPtDemux *demux, guint pt);
+
/* signal emmited when a new PT is found from the incoming stream */
- void (*new_payload_type) (GstElement * element, gint pt, GstPad * pad);
+ void (*new_payload_type) (GstRTPPtDemux *demux, guint pt, GstPad * pad);
/* signal emitted when the payload type changes */
- void (*payload_type_change) (GstElement * element, gint pt);
+ void (*payload_type_change) (GstRTPPtDemux *demux, guint pt);
};
GType gst_rtp_pt_demux_get_type (void);