summaryrefslogtreecommitdiffstats
path: root/gst/mpegdemux
AgeCommit message (Collapse)AuthorFilesLines
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
2008-10-08gst/mpegdemux/: Add Fluendo to the Long Name.Zaheer Abbas Merali2-3/+3
Original commit message from CVS: * gst/mpegdemux/gstmpegdemux.c: * gst/mpegdemux/gstmpegtsdemux.c: Add Fluendo to the Long Name.
2008-10-08Move of mpegtsparse to mpegdemux.Zaheer Abbas Merali8-69/+3898
Original commit message from CVS: * configure.ac: * gst-plugins-bad.spec.in: * gst/mpegdemux/Makefile.am: * gst/mpegdemux/flumpegdemux.c: * gst/mpegdemux/gstmpegdesc.c: * gst/mpegdemux/gstmpegdesc.h: * gst/mpegdemux/mpegtspacketizer.c: * gst/mpegdemux/mpegtspacketizer.h: * gst/mpegdemux/mpegtsparse.c: * gst/mpegdemux/mpegtsparse.h: Move of mpegtsparse to mpegdemux. Fixes #555193.
2008-10-08gst/mpegdemux/gstmpegdemux.c: Prevent a division by zero if last mux rate ↵Sebastian Dröge1-8/+14
was zero. Original commit message from CVS: * gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_send_data), (gst_flups_demux_parse_pack_start): Prevent a division by zero if last mux rate was zero. If we're going to send a NEWSEGMENT event but the segment start and the current buffer timestamp differ by more than a second we will start the NEWSEGMENT at the buffer timestamp. This fixes playback of the tv2-1_25.mpg file, which has 0 as first SCR but the first PTS are around 1 hour and 40 minutes. Fixes bug #553755.
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 Merali2-10/+96
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 Hervey3-10/+10
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 Hervey2-2/+2
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 Merali19-0/+7401
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.