diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2007-04-11 13:49:54 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-04-11 13:49:54 +0000 |
commit | 4f4bb657d6d59d0e19c030d2845745e815af19a3 (patch) | |
tree | 24b1d21d473a2d2e089df78b3408acb012edc4db /gst/rtpmanager/gstrtpptdemux.h | |
parent | 54260af4c9042d98531907c3a149eea03b5283cd (diff) | |
download | gst-plugins-bad-4f4bb657d6d59d0e19c030d2845745e815af19a3.tar.gz gst-plugins-bad-4f4bb657d6d59d0e19c030d2845745e815af19a3.tar.bz2 gst-plugins-bad-4f4bb657d6d59d0e19c030d2845745e815af19a3.zip |
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.h | 7 |
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); |