gstreamer/gst
Edward Hervey ab31900b64 tsparse: Fix per-program-pad pushing
This fixes a couple of issues regarding the output of (request)
per-program pads output:

We would never push out PAT sections (ok, that was one reallly stupid
mistake. I guess nobody ever uses this feature ...).

In the case where the PMT section of a program was bigger than one
packet, we would only end up pushing the last packet of that PMT. Which
obviously results in the resulting stream never containing the proper
(complete) PMT.

The problem was that the program is only started (in the base class)
after the PMT section is completely parsed. When dealing with single-program
pads, tsparse only wants to push the PMT corresponding to the requested
program (and not the other ones). tsparse did that check by looking
at the streams of the program...
... but that program doesn't exist for the first packets of the initial
PMT.

The fix is to use the base class program information (if it parsed the
PAT it already has some information, like the PMT PID for a given program)
if the program hasn't started yet.
2016-02-19 18:12:59 +01:00
..
accurip gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
adpcmdec audiodecoders: use default pad accept-caps handling 2015-08-15 13:51:16 -03:00
adpcmenc audioencoders: use template subset check for accept-caps 2015-08-17 10:07:54 -03:00
aiff plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
asfmux plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
audiobuffer Remove obsolete Android build cruft 2015-04-26 18:59:32 +01:00
audiofxbad plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
audiomixer audio: Move audioaggregator base class to a library 2016-01-22 12:39:48 +02:00
audiovisualizers plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
autoconvert plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
bayer rgb2bayer: Use mapped frame stride 2015-08-06 18:12:07 -04:00
camerabin2 plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
cdxaparse Remove obsolete Android build cruft 2015-04-26 18:59:32 +01:00
coloreffects docs: remove some leftover 'Since 0.10.x' markers 2016-02-03 21:16:18 +00:00
compositor videoaggregator: don't do caps processing that is not overridable 2016-01-27 20:36:25 +11:00
dataurisrc plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
dccp gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
debugutils docs: remove some leftover 'Since 0.10.x' markers 2016-02-03 21:16:18 +00:00
dvbsuboverlay assrender, dvbsuboverlay: fix example pipelines in docs 2015-12-19 21:25:49 +00:00
dvdspu plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
faceoverlay gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
festival plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
fieldanalysis plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
freeverb plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
frei0r frei0rmixer: replace accept-caps with caps query 2016-01-11 17:00:17 -03:00
games Rename property enums from ARG_ to PROP_ 2015-04-27 10:55:18 +01:00
gaudieffects plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
gdp gdpdepay: Add ts-offset property to adjust buffer timestamps 2016-01-28 19:38:22 +01:00
geometrictransform geometrictransform: add headers with example launch lines 2015-12-15 12:01:00 +00:00
hdvparse Remove obsolete Android build cruft 2015-04-26 18:59:32 +01:00
id3tag plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
inter plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
interlace plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
ivfparse ivfparse: Fix the wrong width & height parsing of vp9 bitstream 2015-11-11 15:30:25 +01:00
ivtc ivtc: Fix value memory leak 2015-12-16 09:59:39 +01:00
jp2kdecimator plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
jpegformat plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
librfb Remove unnecessary NULL checks before g_free() 2015-11-18 16:05:42 -08:00
midi Revert "midi: add an ALSA MIDI sequencer source" 2015-09-28 15:31:08 +02:00
mixmatrix mixmatrix: remove unused property enum items 2015-04-29 17:22:06 +01:00
mpegdemux Fix file permissions of some files 2015-08-28 19:55:59 +01:00
mpegpsmux Remove obsolete Android build cruft 2015-04-26 18:59:32 +01:00
mpegtsdemux tsparse: Fix per-program-pad pushing 2016-02-19 18:12:59 +01:00
mpegtsmux mpegtsmux: set non-0 payload length in PES header if video ES packet is small enough 2016-01-19 19:32:27 +00:00
mve docs: update gst-launch-0.10 lines 2015-11-19 17:25:01 +00:00
mxf mxftypes: Generate UUIDs according to RFC4122 version 4 (aka random) 2016-01-29 23:39:26 +01:00
netsim netsim: Add netsim element 2016-02-12 10:08:06 +00:00
nuvdemux plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
onvif Fix code indentation 2015-11-06 19:29:49 +00:00
overlay Rename property enums from ARG_ to PROP_ 2015-04-27 10:55:18 +01:00
patchdetect Remove obsolete Android build cruft 2015-04-26 18:59:32 +01:00
pcapparse pcapparse: don't crash on 0-sized packets 2015-12-23 23:14:17 +00:00
pnm pnmenc: Fix wrong logic leading to memory mishandling 2015-12-17 10:26:48 +01:00
rawparse videoparse: initialize update_size to FALSE when updating info 2016-01-28 14:48:11 -05:00
removesilence plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
rtjpeg rtjpeg: remove unused quality property 2015-04-30 10:50:19 +01:00
sdi Remove obsolete Android build cruft 2015-04-26 18:59:32 +01:00
sdp sdpdemux: replace duplicated codes to call new base sdp apis 2015-12-31 17:15:55 +02:00
segmentclip videosegmentclip: fail to set_caps if problem in caps structure 2016-01-15 11:51:15 +00:00
siren audioencoders: use template subset check for accept-caps 2015-08-17 10:07:54 -03:00
smooth Remove obsolete Android build cruft 2015-04-26 18:59:32 +01:00
smoothwave smoothwave: remove element unported from 0.8 2011-11-23 08:42:01 +01:00
speed plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
stereo plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
subenc Rename property enums from ARG_ to PROP_ 2015-04-27 10:55:18 +01:00
tta Rename property enums from ARG_ to PROP_ 2015-04-27 10:55:18 +01:00
vbidec Rename property enums from ARG_ to PROP_ 2015-04-27 10:55:18 +01:00
videofilters plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
videoframe_audiolevel videoframe-audiolevel: Fix possible division by zero 2015-12-14 12:54:59 +01:00
videomeasure Update GLib dependency to 2.40.0 2015-10-02 22:24:19 +03:00
videoparsers h264parse: remove unused mview_mode value 2016-02-04 12:50:47 +00:00
videosignal plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
vmnc videodecoders: use default pad accept-caps handling 2015-08-15 13:51:16 -03:00
y4m plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00
yadif yadif: Fix illegal memory access 2015-12-16 09:33:25 +01:00
Makefile.am build: build plugins and examples in parallel where possible, if make -jN is used 2010-03-30 01:17:15 +01:00