summaryrefslogtreecommitdiffstats
path: root/gst/mpegdemux
AgeCommit message (Collapse)AuthorFilesLines
2009-05-03mpegdemux: Only error out at EOS push failure if we don't have any streams.Edward Hervey1-6/+21
This should remove the bogus error messages while still keeping the original intent of this, which is to inform the pipeline/application/user that we could not find any valid streams. There are many reasons why pushing an event can fail, and not all of them are because there's no link downstream (it could be because it was blocked, or flushing).
2009-05-03mpegtsdemux: 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-05-03mpegtsparse: detect AC3 streams in PMT tableZaheer Abbas Merali1-0/+12
add 'has-ac3' boolean to pmt bus message
2009-05-03itv hd hackZaheer Abbas Merali1-0/+2821
2009-05-03hack for itvhd sid to detect mpeg1 as h264Zaheer Abbas Merali1-2816/+0
2009-05-03mpegtsparse: fix leak of GST_TYPE_LIST gvalueZaheer Merali1-1/+1
2009-05-03mpegtsparse: fix leak in src_pad_queryZaheer Merali1-1/+1
2009-03-13mpegpsdemux: workaround to fix playback of certain malformed clipsJosep Torra1-2/+29
Added a workarround to permit play certain malformed clips where first SCR is greater than last SCR. Fixes bug #454228
2009-03-10mpegdemux: Fixed a bug in the TS scanner. Fixes #574009Josep Torra1-1/+1
2009-03-04mpegtsdemux: reset sync_lut_len to 0 on READY to NULLJosep Torra1-0/+1
2009-03-03mpegtsparse: fix memleakSebastian Pölsterl1-26/+12
Fix memleak in mpegts_packetizer_clear where MpegTSPacketizerStream is not freed properly when using foreach_stream_clear function.
2009-03-03mpegtsdemux: dynamically adjust the sync LUT tableJosep Torra2-5/+17
Make the sync LUT table adjusted dynamically according to the size of scanned data. Fixes demuxing buffers of any size.
2009-02-28mpegtsdemux: Fix memory leaks when PUSI is missed due to packet lossvanista1-2/+5
Fixes bug #573288.
2009-02-25mpegdemux: don't ignore GstFlowReturn valuesWim Taymans1-0/+6
don't ignore the return value of pull_range because we only get a valid non-NULL buffer when the return value is GST_FLOW_OK. Avoids a crash when the pipeline is shutting down.
2009-02-19mpegtsdemux: s/fluts/mpegtsZaheer Merali9-395/+398
Change all definitions from fluts to mpegts.
2009-02-12Make the demuxer reusable in READY->PLAYING->READY->PLAYING cycles byJulien Moutte1-0/+1
flushing adapters correctly.
2009-02-04mpegpsdemux: fixes clossing segment generation.Josep Torra2-26/+56
Ensure that the clossing segment is generated correctly and being properly pushed. Added some GST_DEBUG to check it. Ensure that last_stop is updated in stream time. Calculate duration as delta of PTS as it seems more correct than delta of SCR in some clips that I tested.
2009-02-04mpegpsdemux: several fixes on the seeking function in pul mode.Josep Torra1-8/+9
Removed a line wrongly copy pasted in my previous commit. Avoid an unsigned integer overflow. Seek last_stop in stream time. Clamp last_stop in stream time between first and last SCR. Fixed a typo in the GST_DEBUG line and added some more info.
2009-02-04Moved var declarations to the begin of functionJosep Torra1-4/+8
2009-02-04Improved seeking in pull mode. Some refactoring and small fixesJosep Torra2-56/+127
2009-02-02Add pull mode to mpegpsdemux and report duration reading first and last PTS. ↵Josep Torra4-142/+898
Some random cleanups.
2009-01-28mpegdemux: do not skip pes packets that we think are encryptedJosep Torra1-12/+1
pes packets that claim to be encrypted may not be so, so treat as normal. Just log the flags.
2009-01-28Revert "mpegdemux: do not skip pes packets that we think are encrypted"Zaheer Merali1-2/+13
This reverts commit d3e4e5598f6c3db444d0014597d383ed35a02998.
2009-01-28mpegdemux: do not skip pes packets that we think are encryptedJosep Torra1-13/+2
pes packets that claim to be encrypted may not be so, so treat as normal. Just log the flags.
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
2009-01-05gst/mpegdemux/mpegtspacketizer.c: Guard interval is 4 if descriptor part ↵Zaheer Abbas Merali1-2/+2
shows binary 11 (3 not 4). Original commit message from CVS: * gst/mpegdemux/mpegtspacketizer.c: Guard interval is 4 if descriptor part shows binary 11 (3 not 4).
2009-01-05gst/mpegdemux/gstmpegdesc.h: Fix up satellite delivery subsystem defs.Zaheer Abbas Merali1-1/+1
Original commit message from CVS: * gst/mpegdemux/gstmpegdesc.h: Fix up satellite delivery subsystem defs.
2009-01-05gst/mpegdemux/gstmpegdesc.h: Fix up terrestrial delivery system descriptor defs.Zaheer Abbas Merali1-7/+7
Original commit message from CVS: * gst/mpegdemux/gstmpegdesc.h: Fix up terrestrial delivery system descriptor defs. They should be shifted otherwise wrong values are seen.
2009-01-02gst/mpegdemux/gstmpegdemux.c: Initialize scr_rate_n and scr_rate_d in order ↵Alessandro Decina1-0/+3
to fix compiler warnings. Original commit message from CVS: * gst/mpegdemux/gstmpegdemux.c: Initialize scr_rate_n and scr_rate_d in order to fix compiler warnings.
2008-12-29gst/mpegdemux/gstmpegdemux.c: Use the adjusted SCR for calculating the mux rate.Wim Taymans1-6/+18
Original commit message from CVS: * gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_src_query), (gst_flups_demux_parse_pack_start): Use the adjusted SCR for calculating the mux rate. Don't update the rate estimation after a discont.
2008-12-29gst/mpegdemux/gstmpegdemux.*: The position member in the newsegment event ↵Wim Taymans2-4/+7
corresponds to the stream_time of the segme... Original commit message from CVS: * gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_send_data): * gst/mpegdemux/gstmpegdemux.h: The position member in the newsegment event corresponds to the stream_time of the segment start position.
2008-12-29gst/mpegdemux/gstmpegdemux.c: Converting from time to bytes operates on the ↵Robin Stocker1-3/+2
stream_time, not the SCR timeline. Original commit message from CVS: Patch by: Robin Stocker <robin at nibor dot org> * gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_src_query): Converting from time to bytes operates on the stream_time, not the SCR timeline. The position reporting should happen in stream_time, not the segment timestamp range. See #557161.
2008-12-29gst/mpegdemux/mpegtspacketizer.c: Fix memleak. Fixes #565614.Sebastian Pölsterl1-0/+1
Original commit message from CVS: Patch by: Sebastian Pölsterl <sebp at k-d-w dot org> * gst/mpegdemux/mpegtspacketizer.c: (mpegts_packetizer_parse_eit): Fix memleak. Fixes #565614.
2008-12-29gst/mpegdemux/mpegtspacketizer.c: Add a scrambled field to the service ↵Sebastian Pölsterl1-4/+5
structures retrieved from SDT to determine if ... Original commit message from CVS: Patch by: Sebastian Pölsterl <sebp at k-d-w dot org> * gst/mpegdemux/mpegtspacketizer.c: (mpegts_packetizer_parse_sdt): Add a scrambled field to the service structures retrieved from SDT to determine if a channel is scrambled. Fixes #565613.
2008-11-26gst/mpegdemux/gstmpegtsdemux.*: Enable latency code, since we're definitely ↵David Schleef2-20/+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 Merali2-3/+3
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-11-05gst/mpegdemux/gstmpegdesc.c: Length should be a guint8 not a gint.Sebastian Pölsterl2-11/+8
Original commit message from CVS: patch by: Sebastian Pölsterl * gst/mpegdemux/gstmpegdesc.c: Length should be a guint8 not a gint. * gst/mpegdemux/mpegtspacketizer.c: Convert text to utf8 for each descriptor separately and not concatenate them first and convert after.
2008-11-04gst/mpegdemux/mpegtsparse.c: Fix another memleak.Sebastian Pölsterl1-0/+1
Original commit message from CVS: patch by: Sebastian Pölsterl * gst/mpegdemux/mpegtsparse.c: Fix another memleak.
2008-11-04Fix memleaks.Sebastian Pölsterl1-0/+5
Original commit message from CVS: patch by: Sebastian Pölsterl * gst/mpegdemux/mpegtspacketizer.c: * sys/dvb/gstdvbsrc.c: Fix memleaks.
2008-11-04Don't install static libs for plugins. Fixes #550851 for -bad.Stefan Kost1-0/+1
Original commit message from CVS: * ext/alsaspdif/Makefile.am: * ext/amrwb/Makefile.am: * ext/apexsink/Makefile.am: * ext/arts/Makefile.am: * ext/artsd/Makefile.am: * ext/audiofile/Makefile.am: * ext/audioresample/Makefile.am: * ext/bz2/Makefile.am: * ext/cdaudio/Makefile.am: * ext/celt/Makefile.am: * ext/dc1394/Makefile.am: * ext/dirac/Makefile.am: * ext/directfb/Makefile.am: * ext/divx/Makefile.am: * ext/dts/Makefile.am: * ext/faac/Makefile.am: * ext/faad/Makefile.am: * ext/gsm/Makefile.am: * ext/hermes/Makefile.am: * ext/ivorbis/Makefile.am: * ext/jack/Makefile.am: * ext/jp2k/Makefile.am: * ext/ladspa/Makefile.am: * ext/lcs/Makefile.am: * ext/libfame/Makefile.am: * ext/libmms/Makefile.am: * ext/metadata/Makefile.am: * ext/mpeg2enc/Makefile.am: * ext/mplex/Makefile.am: * ext/musepack/Makefile.am: * ext/musicbrainz/Makefile.am: * ext/mythtv/Makefile.am: * ext/nas/Makefile.am: * ext/neon/Makefile.am: * ext/ofa/Makefile.am: * ext/polyp/Makefile.am: * ext/resindvd/Makefile.am: * ext/sdl/Makefile.am: * ext/shout/Makefile.am: * ext/snapshot/Makefile.am: * ext/sndfile/Makefile.am: * ext/soundtouch/Makefile.am: * ext/spc/Makefile.am: * ext/swfdec/Makefile.am: * ext/tarkin/Makefile.am: * ext/theora/Makefile.am: * ext/timidity/Makefile.am: * ext/twolame/Makefile.am: * ext/x264/Makefile.am: * ext/xine/Makefile.am: * ext/xvid/Makefile.am: * gst-libs/gst/app/Makefile.am: * gst-libs/gst/dshow/Makefile.am: * gst/aiffparse/Makefile.am: * gst/app/Makefile.am: * gst/audiobuffer/Makefile.am: * gst/bayer/Makefile.am: * gst/cdxaparse/Makefile.am: * gst/chart/Makefile.am: * gst/colorspace/Makefile.am: * gst/dccp/Makefile.am: * gst/deinterlace/Makefile.am: * gst/deinterlace2/Makefile.am: * gst/dvdspu/Makefile.am: * gst/festival/Makefile.am: * gst/filter/Makefile.am: * gst/flacparse/Makefile.am: * gst/flv/Makefile.am: * gst/games/Makefile.am: * gst/h264parse/Makefile.am: * gst/librfb/Makefile.am: * gst/mixmatrix/Makefile.am: * gst/modplug/Makefile.am: * gst/mpeg1sys/Makefile.am: * gst/mpeg4videoparse/Makefile.am: * gst/mpegdemux/Makefile.am: * gst/mpegtsmux/Makefile.am: * gst/mpegvideoparse/Makefile.am: * gst/mve/Makefile.am: * gst/nsf/Makefile.am: * gst/nuvdemux/Makefile.am: * gst/overlay/Makefile.am: * gst/passthrough/Makefile.am: * gst/pcapparse/Makefile.am: * gst/playondemand/Makefile.am: * gst/rawparse/Makefile.am: * gst/real/Makefile.am: * gst/rtjpeg/Makefile.am: * gst/rtpmanager/Makefile.am: * gst/scaletempo/Makefile.am: * gst/sdp/Makefile.am: * gst/selector/Makefile.am: * gst/smooth/Makefile.am: * gst/smoothwave/Makefile.am: * gst/speed/Makefile.am: * gst/speexresample/Makefile.am: * gst/stereo/Makefile.am: * gst/subenc/Makefile.am: * gst/tta/Makefile.am: * gst/vbidec/Makefile.am: * gst/videodrop/Makefile.am: * gst/videosignal/Makefile.am: * gst/virtualdub/Makefile.am: * gst/vmnc/Makefile.am: * gst/y4m/Makefile.am: * sys/acmenc/Makefile.am: * sys/cdrom/Makefile.am: * sys/dshowdecwrapper/Makefile.am: * sys/dshowsrcwrapper/Makefile.am: * sys/dvb/Makefile.am: * sys/dxr3/Makefile.am: * sys/fbdev/Makefile.am: * sys/oss4/Makefile.am: * sys/qcam/Makefile.am: * sys/qtwrapper/Makefile.am: * sys/vcd/Makefile.am: * sys/wininet/Makefile.am: * win32/common/config.h: Don't install static libs for plugins. Fixes #550851 for -bad.
2008-11-04gst/mpegdemux/mpegtsparse.c: Fix memleak.Sebastian Pölsterl1-0/+2
Original commit message from CVS: patch by: Sebastian Pölsterl * gst/mpegdemux/mpegtsparse.c: Fix memleak.
2008-10-27gst/mpegdemux/mpegtspacketizer.c: Add support for the frequency list ↵David Härdeman1-0/+72
descriptor, which provides additional frequencie... Original commit message from CVS: Patch by: David Härdeman <david at hardeman dot nu> * gst/mpegdemux/mpegtspacketizer.c: (mpegts_packetizer_parse_nit): Add support for the frequency list descriptor, which provides additional frequencies that should be scanned by a DVB application. Fixes bug #557814.
2008-10-20gst/mpegdemux/gstmpegdemux.c: Fix reverse playback regression.Edward Hervey1-4/+16
Original commit message from CVS: * gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_send_data): Fix reverse playback regression. Fixes #557080
2008-10-16gst/mpegdemux/gstmpegtsdemux.*: Properly handle some resync cases in the ↵Zaheer Abbas Merali2-21/+75
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/gstmpegdemux.c: Make sure the mpegpsdemux element creates ↵Edward Hervey1-2/+8
valid newsegment events. Original commit message from CVS: * gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_send_data): Make sure the mpegpsdemux element creates valid newsegment events. Fixes #556428
2008-10-16gst/mpegdemux/mpegtspacketizer.c: Fixes segfault in get_encoding_and_convert.Sebastian Pölsterl1-0/+3
Original commit message from CVS: patch by: Sebastian Pölsterl * gst/mpegdemux/mpegtspacketizer.c: Fixes segfault in get_encoding_and_convert. Fixes #556482
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