summaryrefslogtreecommitdiffstats
path: root/gst/mpegdemux/gstmpegtsdemux.c
AgeCommit message (Collapse)AuthorFilesLines
2009-08-08mpegtsdemux: Don't answer the SEEKING query if we don't know the answer yetSebastian Dröge1-0/+7
A bitrate!=-1 is required for seeking but the bitrate is only calculated after the second PCR was read. Fixes bug #590446.
2009-08-07mpegtsdemux: fix a memory leakJosep Torra1-1/+4
2009-08-07mpegtsdemux: added VC1, EAC3 and LPCM related to blueray/hdmvJosep Torra1-5/+23
2009-08-05mpeg[pt]sdemux: Fix SEEKING querySebastian Dröge1-1/+1
Send the BYTES based query downstream, not the orignal one.
2009-07-23mpegdemux: Remove some backward compatibility codeSebastian Dröge1-43/+1
Also we always require liboil so use it unconditionally.
2009-07-23mpegdemux: Implement query type function for the src padsSebastian Dröge1-0/+16
2009-07-21mpegtsdemux: Implement SEEKING querySebastian Dröge1-0/+45
Partially fixes bug #588944.
2009-07-16mpegtsdemux: Don't use PIDs > MPEGTS_MAX_PIDAleksey Yulin1-1/+2
The mpegtsdemux streams array only has MPEGTS_MAX_PID entries and accessing one afterwards will result in crashes. Fixes bug #575672.
2009-06-05mpegtsdemux: Fix HDV private stream definition/caps.Edward Hervey1-4/+4
2009-06-04mpegtsdemux: Avoid passing the custom GST_FLOW_NEED_MORE_DATA upstreamJan Schmidt1-5/+6
Don't return GST_FLOW_NEED_MORE_DATA from the chain function at the end of files.
2009-05-29mpegtsdemux: Fix bogus uninitialised variable accessJan Schmidt1-2/+1
Typo in the previous commit
2009-05-29mpegtsdemux: Use the ISO 639 language code descriptor to send tags.Jan Schmidt1-4/+41
If there is an ISO 639 language descriptor for a stream, send a language code tag so that players can show a meaningful language for the audio and subtitle streams.
2009-05-26mpegtsdemux: Add mapping for DVD and Bluray subpicture streams.Jan Schmidt1-3/+25
Add output subpicture pads for DVD (video/x-dvd-subpicture) and Bluray PGS (subpicture/x-pgs) streams. Remove an unused variable from the PES filter.
2009-05-25mpegtsdemux: Ignore NULL packets as early as possible.Edward Hervey1-1/+7
This avoids: * creating a MpegTSStream structure for nothing * processing packet data for nothing
2009-05-25mpegtsdemux: Add mapping for HDV private streamsEdward Hervey1-0/+10
2009-05-22mpegtsdemux: fix memleaks and refcountsWim Taymans1-4/+3
Use correct constants for PID_type so that we clear the right filter. provide_clock must return a ref to a clock.
2009-05-11mpegtsdemux: Protect bitrate estimation against bogus values.Edward Hervey1-4/+17
If the estimated bitrate is lower than 188 bytes, there's most likely something completely wrong with the two samples. If that happens, force recalculation. Use guint64 for observation PCR, I saw cases where it would overflow.
2009-05-11mpegtsdemux: Only take PCR from the active stream for bitrate estimation.Edward Hervey1-6/+13
2009-05-11mpegtsdemux: Change debugging levels for very frequent messages.Edward Hervey1-14/+16
This allows debugging with mpegtsdemux:4 while being able to track what's going on (and avoid taking up as much cpu for debugging as for the actual demuxing process).
2009-05-08mpegtsdemux: Add initial naive seeking support and fix duration query.Zaheer Merali1-29/+243
Sync from gst-fluendo-mpegdemux and have seeking/duration query improvements in. No support however for wrapped around pcrs etc. but a start nonetheless. Also fix indentation issues.
2009-04-21mpegtsdemux: add hack specific for itvhdZaheer Abbas Merali1-4/+3
itvhd masks its h264 video stream as a private stream making it harder for other set top boxes to decode. this checks for specific program number, video pid and stream type combination before declaring it as h264.
2009-04-21itv hd hackZaheer Abbas Merali1-0/+2821
2009-04-21hack for itvhd sid to detect mpeg1 as h264Zaheer Abbas Merali1-2816/+0
2009-03-04mpegtsdemux: reset sync_lut_len to 0 on READY to NULLJosep Torra1-0/+1
2009-03-03mpegtsdemux: dynamically adjust the sync LUT tableJosep Torra1-3/+16
Make the sync LUT table adjusted dynamically according to the size of scanned data. Fixes demuxing buffers of any size.
2009-02-19mpegtsdemux: s/fluts/mpegtsZaheer Merali1-240/+241
Change all definitions from fluts to mpegts.
2009-01-09gst/mpegdemux/gstmpegtsdemux.c: Don't forward duration requests in BYTES, ↵David Schleef1-0/+15
since the returned value doesn't mean anyth... Original commit message from CVS: * gst/mpegdemux/gstmpegtsdemux.c: Don't forward duration requests in BYTES, since the returned value doesn't mean anything. Fixes #566959
2008-11-26gst/mpegdemux/gstmpegtsdemux.*: Enable latency code, since we're definitely ↵David Schleef1-14/+0
after 0.10.12 Original commit message from CVS: * gst/mpegdemux/gstmpegtsdemux.c: * gst/mpegdemux/gstmpegtsdemux.h: Enable latency code, since we're definitely after 0.10.12
2008-11-06gst/mpegdemux/gstmpegtsdemux.c: Make private section pads have a caps set so ↵Zaheer Abbas Merali1-0/+7
they are not tried to be linked in parse... Original commit message from CVS: * gst/mpegdemux/gstmpegtsdemux.c: Make private section pads have a caps set so they are not tried to be linked in parse_launch for example.
2008-11-06gst/mpegdemux/gstmpegtsdemux.c: No need to reclaculate flush in this case.Zaheer Abbas Merali1-1/+1
Original commit message from CVS: patch by: Josep Torra * gst/mpegdemux/gstmpegtsdemux.c: No need to reclaculate flush in this case. Fixes some bad decode errors introduced.
2008-11-06gst/mpegdemux/gstmpegtsdemux.*: Fix typo.Zaheer Abbas Merali1-2/+2
Original commit message from CVS: * gst/mpegdemux/gstmpegtsdemux.c: * gst/mpegdemux/gstmpegtsdemux.h: Fix typo.
2008-11-05gst/mpegdemux/gstmpegtsdemux.c: Heuristic approach when resyncing.Zaheer Abbas Merali1-1/+29
Original commit message from CVS: patch by: Josep Torra * gst/mpegdemux/gstmpegtsdemux.c: Heuristic approach when resyncing.
2008-10-16gst/mpegdemux/gstmpegtsdemux.*: Properly handle some resync cases in the ↵Zaheer Abbas Merali1-21/+74
optimised buffering strategy. Original commit message from CVS: Patch by: Josep Torra * gst/mpegdemux/gstmpegtsdemux.c: * gst/mpegdemux/gstmpegtsdemux.h: Properly handle some resync cases in the optimised buffering strategy.
2008-10-16gst/mpegdemux/gstmpegtsdemux.c: Fixes a segfault in the adaptation buffer ↵Zaheer Abbas Merali1-4/+7
size strategy. Original commit message from CVS: patch by: Josep Torra * gst/mpegdemux/gstmpegtsdemux.c: Fixes a segfault in the adaptation buffer size strategy. Fixes #556440
2008-10-08gst/mpegdemux/: Add Fluendo to the Long Name.Zaheer Abbas Merali1-2/+2
Original commit message from CVS: * gst/mpegdemux/gstmpegdemux.c: * gst/mpegdemux/gstmpegtsdemux.c: Add Fluendo to the Long Name.
2008-10-06gst/mpegdemux/gstmpegtsdemux.c: Fix wrong firing of critical introduced by ↵Zaheer Abbas Merali1-6/+6
previous optimisation. Original commit message from CVS: Patch by: Josep Torra * gst/mpegdemux/gstmpegtsdemux.c: Fix wrong firing of critical introduced by previous optimisation.
2008-09-23Patch from: Josep TorraZaheer Abbas Merali1-10/+89
Original commit message from CVS: Patch from: Josep Torra * gst/mpegdemux/gstmpegtsdemux.c: * gst/mpegdemux/gstmpegtsdemux.h: Use a preallocated buffer per stream for PES packets sent on src pads. Adaptively adjust buffer size appropriately.
2008-09-09gst/mpegdemux/: Fix conflicting public names in new mpeg demuxers.Edward Hervey1-3/+3
Original commit message from CVS: * gst/mpegdemux/flumpegdemux.c: (plugin_init): * gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_sync_get_type), (gst_flups_demux_get_type), (gst_flups_demux_plugin_init): * gst/mpegdemux/gstmpegtsdemux.c: (gst_fluts_demux_get_type), (gst_fluts_demux_plugin_init): Fix conflicting public names in new mpeg demuxers. Fixes #550468
2008-09-02gst/mpegdemux/: Fix build on macosx.Edward Hervey1-1/+1
Original commit message from CVS: * gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_parse_pack_start): * gst/mpegdemux/gstmpegtsdemux.c: (gst_fluts_demux_data_cb): Fix build on macosx.
2008-09-02Add Fluendo MPEG PS and TS demuxers to gst-plugins-bad. This is now dual ↵Zaheer Abbas Merali1-0/+2630
licensed MPL and LGPL. Original commit message from CVS: * configure.ac: * gst/mpegdemux/Makefile.am: * gst/mpegdemux/flumpegdemux.c: * gst/mpegdemux/flutspatinfo.c: * gst/mpegdemux/flutspatinfo.h: * gst/mpegdemux/flutspmtinfo.c: * gst/mpegdemux/flutspmtinfo.h: * gst/mpegdemux/flutspmtstreaminfo.c: * gst/mpegdemux/flutspmtstreaminfo.h: * gst/mpegdemux/gstmpegdefs.h: * gst/mpegdemux/gstmpegdemux.c: * gst/mpegdemux/gstmpegdemux.h: * gst/mpegdemux/gstmpegdesc.c: * gst/mpegdemux/gstmpegdesc.h: * gst/mpegdemux/gstmpegtsdemux.c: * gst/mpegdemux/gstmpegtsdemux.h: * gst/mpegdemux/gstpesfilter.c: * gst/mpegdemux/gstpesfilter.h: * gst/mpegdemux/gstsectionfilter.c: * gst/mpegdemux/gstsectionfilter.h: Add Fluendo MPEG PS and TS demuxers to gst-plugins-bad. This is now dual licensed MPL and LGPL.