summaryrefslogtreecommitdiffstats
path: root/gst/mpegtsparse/mpegtsparse.h
diff options
context:
space:
mode:
authorAlessandro Decina <alessandro@nnva.org>2007-11-23 17:53:37 +0000
committerZaheer Abbas Merali <zaheerabbas@merali.org>2007-11-23 17:53:37 +0000
commit50841996be64a7b4697d3e30a45ca68db459762e (patch)
tree6a3b09a46b1cbe30ac009743bb50799077502871 /gst/mpegtsparse/mpegtsparse.h
parent1cb35c75741314f40f098250108b1b0e7db643cc (diff)
downloadgst-plugins-bad-50841996be64a7b4697d3e30a45ca68db459762e.tar.gz
gst-plugins-bad-50841996be64a7b4697d3e30a45ca68db459762e.tar.bz2
gst-plugins-bad-50841996be64a7b4697d3e30a45ca68db459762e.zip
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.
Diffstat (limited to 'gst/mpegtsparse/mpegtsparse.h')
-rw-r--r--gst/mpegtsparse/mpegtsparse.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gst/mpegtsparse/mpegtsparse.h b/gst/mpegtsparse/mpegtsparse.h
index 557520f8..60f079ab 100644
--- a/gst/mpegtsparse/mpegtsparse.h
+++ b/gst/mpegtsparse/mpegtsparse.h
@@ -57,7 +57,7 @@ struct _MpegTSParse {
GHashTable *programs;
guint req_pads;
- GValueArray *pat_info;
+ GstStructure *pat;
MpegTSPacketizer *packetizer;
GHashTable *psi_pids;
gboolean disposed;
@@ -67,7 +67,11 @@ struct _MpegTSParseClass {
GstElementClass parent_class;
/* signals */
- void (*pmt_info) (GObject *pmt_info);
+ void (*pat_info) (GstStructure *pat);
+ void (*pmt_info) (GstStructure *pmt);
+ void (*nit_info) (GstStructure *nit);
+ void (*sdt_info) (GstStructure *sdt);
+ void (*eit_info) (GstStructure *eit);
};
GType gst_mpegts_parse_get_type(void);