From 50841996be64a7b4697d3e30a45ca68db459762e Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Fri, 23 Nov 2007 17:53:37 +0000 Subject: gst/mpegtsparse/: pat-info is now a signal not a GObject property that gets notified. Original commit message from CVS: patch by: Alessandro Decina * gst/mpegtsparse/mpegtspacketizer.c: * gst/mpegtsparse/mpegtspacketizer.h: * gst/mpegtsparse/mpegtsparse.c: * gst/mpegtsparse/mpegtsparse.h: pat-info is now a signal not a GObject property that gets notified. pat-info, pmt-info now instead of passing a GObject as a parameter, pass a GstStructure. New signals: nit-info, sdt-info, eit-info for DVB SI information * sys/dvb/camconditionalaccess.c: * sys/dvb/camconditionalaccess.h: * sys/dvb/camdevice.c: * sys/dvb/camdevice.h: * sys/dvb/camswclient.c: * sys/dvb/camswclient.h: * sys/dvb/camutils.c: * sys/dvb/camutils.h: Cam code now uses the pmt GstStructure passed from mpegtsparse signals rather than the GObject. * sys/dvb/dvbbasebin.c: Use new signals in mpegtsparse and use GstStructures as per mpegtsparse's modified API. --- gst/mpegtsparse/mpegtspacketizer.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'gst/mpegtsparse/mpegtspacketizer.h') diff --git a/gst/mpegtsparse/mpegtspacketizer.h b/gst/mpegtsparse/mpegtspacketizer.h index b617a7aa..d8901ac0 100644 --- a/gst/mpegtsparse/mpegtspacketizer.h +++ b/gst/mpegtsparse/mpegtspacketizer.h @@ -97,9 +97,15 @@ void mpegts_packetizer_clear_packet (MpegTSPacketizer *packetizer, gboolean mpegts_packetizer_push_section (MpegTSPacketizer *packetzer, MpegTSPacketizerPacket *packet, MpegTSPacketizerSection *section); -GValueArray *mpegts_packetizer_parse_pat (MpegTSPacketizer *packetizer, +GstStructure *mpegts_packetizer_parse_pat (MpegTSPacketizer *packetizer, MpegTSPacketizerSection *section); -GObject *mpegts_packetizer_parse_pmt (MpegTSPacketizer *packetizer, +GstStructure *mpegts_packetizer_parse_pmt (MpegTSPacketizer *packetizer, + MpegTSPacketizerSection *section); +GstStructure *mpegts_packetizer_parse_nit (MpegTSPacketizer *packetizer, + MpegTSPacketizerSection *section); +GstStructure *mpegts_packetizer_parse_sdt (MpegTSPacketizer *packetizer, + MpegTSPacketizerSection *section); +GstStructure *mpegts_packetizer_parse_eit (MpegTSPacketizer *packetizer, MpegTSPacketizerSection *section); G_END_DECLS -- cgit v1.2.1