Commit graph

24 commits

Author SHA1 Message Date
Zaheer Abbas Merali
8aea40af0b Move of mpegtsparse to mpegdemux
Original commit message from CVS:
Move of mpegtsparse to mpegdemux
2008-10-08 15:22:12 +00:00
Zaheer Abbas Merali
c3e91e1a88 gst/mpegtsparse/mpegtsparse.c: Actually copy the structure passed in when assigning it because it gets freed straight...
Original commit message from CVS:
* gst/mpegtsparse/mpegtsparse.c:
Actually copy the structure passed in when assigning it because
it gets freed straight after the function call.
Re: pat_info and pmt_info GstStructures.
2008-10-06 12:01:14 +00:00
Zaheer Abbas Merali
67030c152b gst/mpegtsparse/mpegtsparse.c: Fix possible crash where pat is pointing to a freed structure.
Original commit message from CVS:
* gst/mpegtsparse/mpegtsparse.c:
Fix possible crash where pat is pointing to a freed structure.
2008-10-03 09:11:16 +00:00
Alessandro Decina
229f3b295a gst/mpegtsparse/mpegtsparse.c: Fix memory leak by unreffing structures when not needed.
Original commit message from CVS:
patch by: Alessandro Decina
* gst/mpegtsparse/mpegtsparse.c:
Fix memory leak by unreffing structures when not needed.
Fixes #539292.
2008-07-07 13:22:26 +00:00
Zaheer Abbas Merali
b458dc321b Patch from: Vincent Genieux
Original commit message from CVS:
Patch from: Vincent Genieux
* gst/mpegtsparse/mpegtsparse.c:
Fix refcount issues, fixes #538560.
2008-06-16 11:29:46 +00:00
Zaheer Abbas Merali
a6e1c40344 gst/mpegtsparse/: Make sure all schedule EIT and non-actual transport stream
Original commit message from CVS:
* gst/mpegtsparse/mpegtspacketizer.c:
* gst/mpegtsparse/mpegtsparse.c:
Make sure all schedule EIT and non-actual transport stream
EITs are parsed. Also add present-following flag and
actual-transport-stream flag to eit bus message.
2008-05-09 10:21:07 +00:00
Zaheer Abbas Merali
63fae1c4bb gst/mpegtsparse/: Detect SI pids (NIT, SDT, EIT etc.) based on table id and not by pid number. This allows for exampl...
Original commit message from CVS:
* gst/mpegtsparse/mpegtspacketizer.c:
* gst/mpegtsparse/mpegtspacketizer.h:
* gst/mpegtsparse/mpegtsparse.c:
Detect SI pids (NIT, SDT, EIT etc.) based on table id and not
by pid number. This allows for example the EPG data from UK's
freesat to be picked up.
2008-04-29 09:02:35 +00:00
Zaheer Abbas Merali
adf2d86155 gst/mpegtsparse/mpegtsparse.c: Only send PMTs to program pads that the PMT is for even if on same pid.
Original commit message from CVS:
* gst/mpegtsparse/mpegtsparse.c:
Only send PMTs to program pads that the PMT is for even if
on same pid.
As a by-product, we now no longer hardcode any psi pid numbers.
Also remove pcr stream from old pmt when we apply a new pmt.
2008-02-28 13:22:24 +00:00
Zaheer Abbas Merali
8ede0678be gst/mpegtsparse/: Make sure the gstmpegdesc debug lines do not critical when GST_DEBUG is enabled and also actually o...
Original commit message from CVS:
* gst/mpegtsparse/gstmpegdesc.c:
* gst/mpegtsparse/gstmpegdesc.h:
* gst/mpegtsparse/mpegtsparse.c:
Make sure the gstmpegdesc debug lines do not critical
when GST_DEBUG is enabled and also actually output.
Thanks to Alessandro Decina for spotting.
Fixes #516448
2008-02-14 14:22:57 +00:00
Zaheer Abbas Merali
ee15d7657d gst/mpegtsparse/mpegtspacketizer.c: Parse component descriptor.
Original commit message from CVS:
* gst/mpegtsparse/mpegtspacketizer.c:
Parse component descriptor.
* gst/mpegtsparse/mpegtsparse.c:
Add SI pids to every program (but hardcoded currently).
2008-02-07 14:45:06 +00:00
Zaheer Abbas Merali
9d8a7aa18f gst/mpegtsparse/mpegtsparse.c: Handle latency queries in src pads.
Original commit message from CVS:
* gst/mpegtsparse/mpegtsparse.c:
Handle latency queries in src pads.
2008-02-05 12:19:46 +00:00
Zaheer Abbas Merali
fa8f099a5a gst/mpegtsparse/mpegtsparse.c: Revert const removal from previous commit.
Original commit message from CVS:
* gst/mpegtsparse/mpegtsparse.c:
Revert const removal from previous commit.
2008-01-22 18:08:01 +00:00
Zaheer Abbas Merali
32b0966ec7 gst/mpegtsparse/: Added descriptor searching infrastructure from Fluendo TS demuxer.
Original commit message from CVS:
* gst/mpegtsparse/Makefile.am:
* gst/mpegtsparse/gstmpegdesc.c:
* gst/mpegtsparse/gstmpegdesc.h:
* gst/mpegtsparse/mpegtspacketizer.c:
* gst/mpegtsparse/mpegtsparse.c:
Added descriptor searching infrastructure from Fluendo TS demuxer.
Add channel name and provider to the sdt structure sent in the
bus message.
2008-01-22 18:04:04 +00:00
Tim-Philipp Müller
6c41321741 gst/mpegtsparse/mpegtsparse.c: Mark crc values table as constant.
Original commit message from CVS:
* gst/mpegtsparse/mpegtsparse.c: (crc_tab):
Mark crc values table as constant.
2007-12-06 10:48:19 +00:00
Zaheer Abbas Merali
3966e730c9 gst/mpegtsparse/: A sub table is identified by the pair table_id and sub_table_identifier, not by pid. So hash with t...
Original commit message from CVS:
* gst/mpegtsparse/mpegtspacketizer.c:
* gst/mpegtsparse/mpegtsparse.c:
A sub table is identified by the pair table_id and
sub_table_identifier, not by pid. So hash with that.
* sys/dvb/dvbbasebin.c:
Make sure initial pids are added properly to filter,
2007-12-05 12:40:05 +00:00
Zaheer Abbas Merali
cef8e5fe60 gst/mpegtsparse/: Remove signals for pat, pmt, nit, eit, sdt. Replace with bus messages.
Original commit message from CVS:
* gst/mpegtsparse/Makefile.am:
* gst/mpegtsparse/mpegtspacketizer.c:
* gst/mpegtsparse/mpegtsparse.c:
Remove signals for pat, pmt, nit, eit, sdt. Replace with bus
messages.
* sys/dvb/dvbbasebin.c:
Instead of attaching to signals, use the bus messages.
Also fix up so the dvbsrc starts only outputting the info tables
like PAT, CAT, NIT, SDT, EIT instead of the whole ts.
2007-12-03 18:28:32 +00:00
Zaheer Abbas Merali
5d0e483c8e gst/mpegtsparse/mpegtsparse.c: CRC check the psi pids. CRC checking code relicenced from MPL.
Original commit message from CVS:
* gst/mpegtsparse/mpegtsparse.c:
CRC check the psi pids. CRC checking code relicenced from MPL.
Thanks Fluendo.
2007-11-30 13:18:36 +00:00
Alessandro Decina
50841996be 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.
2007-11-23 17:53:37 +00:00
Alessandro Decina
389904f624 gst/mpegtsparse/: Add request pad for getting the full transport stream coming in.
Original commit message from CVS:
patch by: Alessandro Decina
* gst/mpegtsparse/mpegtspacketizer.c:
* gst/mpegtsparse/mpegtsparse.c:
* gst/mpegtsparse/mpegtsparse.h:
Add request pad for getting the full transport stream coming in.
2007-10-16 16:51:23 +00:00
Wai-Ming Ho
6350482df8 gst/mpegtsparse/mpegtspacketizer.c: Don't skip PAT with version number 0. Fixes #483400.
Original commit message from CVS:
Patch by: Wai-Ming Ho <webregbox at yahoo dot co dot uk>
* gst/mpegtsparse/mpegtspacketizer.c:
(mpegts_packetizer_stream_new):
Don't skip PAT with version number 0. Fixes #483400.
* gst/mpegtsparse/mpegtsparse.c: (mpegts_parse_apply_pat):
Make all values above 0 mark a referenced program as they can be
incremented and only 1 had marked a referenced program before, causing
actually referenced programs to be unreferenced.
2007-10-05 08:05:14 +00:00
mutex at runbox dot com
0813fdac80 gst/mpegtsparse/: Remove useless src pad that only results in not linked errors, fix a broken pointer dereference and...
Original commit message from CVS:
Patch by: mutex at runbox dot com
* gst/mpegtsparse/mpegtspacketizer.c:
(mpegts_packetizer_parse_adaptation_field_control):
* gst/mpegtsparse/mpegtsparse.c: (mpegts_parse_base_init),
(mpegts_parse_init), (mpegts_parse_push):
* gst/mpegtsparse/mpegtsparse.h:
Remove useless src pad that only results in not linked errors,
fix a broken pointer dereference and make MAX_CONTINUITY constant
conform to the standard to stop outputting corrupted data.
Fixes #481276, #481279.
2007-10-01 09:21:19 +00:00
Stefan Kost
1af510f8d5 Massive leak fixing, plus code cleanups.
Original commit message from CVS:
* ext/audioresample/gstaudioresample.c:
* ext/x264/gstx264enc.c:
* gst/dvdspu/gstdvdspu.c:
* gst/dvdspu/gstdvdspu.h:
* gst/festival/gstfestival.c:
* gst/h264parse/gsth264parse.c:
* gst/mpegtsparse/mpegtspacketizer.c:
* gst/mpegtsparse/mpegtsparse.c:
* gst/multifile/gstmultifilesink.c:
* gst/multifile/gstmultifilesrc.c:
* gst/nuvdemux/gstnuvdemux.c:
* sys/dshowsrcwrapper/gstdshowaudiosrc.c:
* sys/dshowsrcwrapper/gstdshowvideosrc.c:
* sys/vcd/vcdsrc.c:
Massive leak fixing, plus code cleanups.
2007-09-24 10:53:37 +00:00
Stefan Kost
a43a4d5747 gst/mpegtsparse/mpegtsparse.c: Fix the build (missing stdlib.h).
Original commit message from CVS:
* gst/mpegtsparse/mpegtsparse.c:
Fix the build (missing stdlib.h).
2007-09-06 20:37:56 +00:00
Zaheer Abbas Merali
e6c86a500d Add mpeg transport stream parser written by:
Original commit message from CVS:
* configure.ac:
* gst/mpegtsparse/Makefile.am:
* gst/mpegtsparse/flutspatinfo.c:
* gst/mpegtsparse/flutspatinfo.h:
* gst/mpegtsparse/flutspmtinfo.c:
* gst/mpegtsparse/flutspmtinfo.h:
* gst/mpegtsparse/flutspmtstreaminfo.c:
* gst/mpegtsparse/flutspmtstreaminfo.h:
* gst/mpegtsparse/mpegtspacketizer.c:
* gst/mpegtsparse/mpegtspacketizer.h:
* gst/mpegtsparse/mpegtsparse.c:
* gst/mpegtsparse/mpegtsparse.h:
* gst/mpegtsparse/mpegtsparsemarshal.list:
Add mpeg transport stream parser written by:
Alessandro Decina. Includes a couple of files from the
Fluendo transport stream demuxer that Fluendo have
kindly allowed to be licenced under LGPL also.
2007-08-20 14:23:45 +00:00