gstreamer/gst/mpegdemux
Mart Raudsepp 1db547f0b6 gstmpegtsdemux: add temporary **HACK** for dvb subs testing so dvbsuboverlay gets whole packets
<tpm> leio, what's the mpegts demux hack about?
<leio> my libdvbsub code can't handle cut packets
<leio> so the hack instructs the demuxer to gather full packets before pushing down, but it applies that to more PES packet types than just dvbsub, but I'm not sure if that's a bad thing
<leio> either way, needs a cleaner solution, either in demuxer, or I need to handle cut packets
<tpm> ok, but really it should be fixed in the overlay, right?
<tpm> or a parser be inserted
<leio> the problem is that I don't know from the first packet beforehand if it is a cut one or no
<leio> not
<leio> err, first buffer
<leio> just when I receive the next one I see if it has a valid timestamp on it or not
<leio> so I can't very well queue it up in the chain either, I might be blocking the very last subtitle for no reason or something
<tpm> but you could just drop/ignore packets until you find one, right?
<leio> find what?
<tpm> a complete packet?
<leio> the problem isn't that they aren't complete
<leio> the problem is that they are cut across multiple GstBuffers by the demuxer without the hack
<tpm> sure, I understand that
<tpm> but you can't easily determine if a GstBuffer contains he start fragment of a packet or not?
<leio> I guess I could parse the packet and see if its length is enough, just like the libdvbsub code eventually does too
<leio> I can, it has a timestamp if it's the first chunk
<leio> I just never know if I need to wait for more, without some parsing
<tpm> ah ok
<leio> while the demuxer could just give me an uncut one in the first place
<leio> like it always does for program streams
<leio> that gather_pes is always set in gstmpegdemux, but not in gstmpegtsdemux
2010-12-08 16:30:09 +01:00
..
flumpegdemux.c mpegtsdemux: s/fluts/mpegts 2009-02-19 11:36:45 +00:00
flutspatinfo.c various (gst): add missing G_PARAM_STATIC_STRINGS flags 2010-10-19 15:47:17 +03:00
flutspatinfo.h mpegtsdemux: s/fluts/mpegts 2009-02-19 11:36:45 +00:00
flutspmtinfo.c various (gst): add missing G_PARAM_STATIC_STRINGS flags 2010-10-19 15:47:17 +03:00
flutspmtinfo.h mpegtsdemux: s/fluts/mpegts 2009-02-19 11:36:45 +00:00
flutspmtstreaminfo.c various (gst): add missing G_PARAM_STATIC_STRINGS flags 2010-10-19 15:47:17 +03:00
flutspmtstreaminfo.h mpegtsdemux: s/fluts/mpegts 2009-02-19 11:36:45 +00:00
gstmpegdefs.h mpegdemux: Use GST_FLOW_CUSTOM_SUCCESS instead of some integer 2010-04-16 19:43:59 +02:00
gstmpegdemux.c mpegdemux: Don't use GST_FLOW_IS_FATAL() 2010-09-21 12:26:35 +02:00
gstmpegdemux.h mpegpsdemux: improved demuxer performance 2009-08-07 18:17:28 +02:00
gstmpegdesc.c Add -Wold-style-definition 2010-03-22 16:56:03 +01:00
gstmpegdesc.h Add -Wmissing-declarations -Wmissing-prototypes to configure flags 2010-03-21 21:39:18 +01:00
gstmpegtsdemux.c gstmpegtsdemux: add temporary **HACK** for dvb subs testing so dvbsuboverlay gets whole packets 2010-12-08 16:30:09 +01:00
gstmpegtsdemux.h mpegtsdemux: Set DISCONT on buffers 2009-09-17 17:03:40 -07:00
gstpesfilter.c pesfilter: Permit unbounded packets for 0xfd (extended stream id). 2009-07-16 16:05:41 +02:00
gstpesfilter.h mpegtsdemux: Add mapping for DVD and Bluray subpicture streams. 2009-05-26 15:31:53 +01:00
gstsectionfilter.c mpegdemux: improve debug output 2010-06-17 10:52:31 +02:00
gstsectionfilter.h Add Fluendo MPEG PS and TS demuxers to gst-plugins-bad. This is now dual licensed MPL and LGPL. 2008-09-02 12:04:32 +00:00
Makefile.am mpegtsdemux: Don't use liboil functions 2010-06-14 14:48:02 +02:00
mpegtspacketizer.c mpegtsparse: Create a sub-buffer with the section length 2010-11-23 11:26:56 +01:00
mpegtspacketizer.h mpegtsparse: parse TDT table in mpegts. 2010-05-12 13:00:16 +02:00
mpegtsparse.c mpegtsparse: fix compiler warning 2010-11-19 18:51:32 +01:00
mpegtsparse.h Add -Wmissing-declarations -Wmissing-prototypes to configure flags 2010-03-21 21:39:18 +01:00