Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-28 | various: fix pad template ref leaks | Vincent Penquerc'h | 3 | -14/+13 | |
https://bugzilla.gnome.org/show_bug.cgi?id=662664 | |||||
2011-11-16 | tsdemux: Add notes on synchronization and scheduling | Edward Hervey | 2 | -106/+144 | |
2011-09-09 | hlsdemux/tsdemux: Add HP copyright on work done on HLS | Youness Alaoui | 3 | -1/+12 | |
2011-08-30 | tsdemux: Need to flush all streams when we receive a flush-start | Youness Alaoui | 3 | -3/+28 | |
2011-08-26 | tsdemux: In push mode, do not start pull loop if upstream seek fails | Youness Alaoui | 1 | -2/+2 | |
2011-08-24 | tsdemux: Use FALSE instead of 0 for bool parameter | Sebastian Dröge | 1 | -1/+1 | |
2011-08-24 | tsdemux: Need to send a newsegment after a seek | Youness Alaoui | 1 | -2/+3 | |
2011-08-24 | tsdemux: Forward seek/duration query/event to the sinkpad | Youness Alaoui | 2 | -3/+5 | |
2011-08-23 | tsdemux: do not try to compare a PCR with itself for statistics | Vincent Penquerc'h | 1 | -8/+10 | |
Especially as one of the logs will cause a divide by zero. https://bugzilla.gnome.org/show_bug.cgi?id=656927 | |||||
2011-08-23 | tsdemux: do not keep a dangling pointer | Vincent Penquerc'h | 1 | -0/+2 | |
When removing the current program, it will get freed by the hash table removal callback, so ensure we clear our pointer to it. Fixes a crash later on in gst_ts_demux_push trying to access it. https://bugzilla.gnome.org/show_bug.cgi?id=656927 | |||||
2011-08-23 | mpegtsbase: First try if upstream handles seeking in TIME format before ↵ | Sebastian Dröge | 1 | -0/+7 | |
seeking in the demuxer | |||||
2011-08-23 | tsdemux: First send SEEKING queries upstream | Sebastian Dröge | 1 | -3/+11 | |
2011-08-23 | tsdemux: Send DURATION query upstream first | Sebastian Dröge | 1 | -2/+3 | |
2011-08-22 | tsdemux: do not send a new-segment on stream removal | Youness Alaoui | 1 | -1/+12 | |
When a program is changed, stream_added is called which sets the need_newsegment to TRUE, then stream_removed is called, which calls the flush_pending_data, which checks for the newsegment and causes it to send a new-segment. We must not send the newsegment when flushing the pending data on the removed stream. We should only push it when flushing data on the newly added streams (after they finish parsing their PTS header) | |||||
2011-08-22 | tsdemux: Fix newsegment when switching programs | Youness Alaoui | 1 | -4/+17 | |
If a program/stream is changed, then a newsegment is sent which must not be the same as the base segment since it happens later. We must shift the start position by the time elapsed since the newsegment and the current PTS of the stream | |||||
2011-08-22 | tsdemux: interpolate gap and fix timestamps depending on upstream segment | Youness Alaoui | 3 | -14/+49 | |
2011-08-18 | tsbase: reinitiate segment at flush-stop event only | Youness Alaoui | 1 | -1/+7 | |
2011-08-01 | tsdemux: Take into account upstream newsegment events | Edward Hervey | 1 | -0/+13 | |
If the incoming newsegment event was in time, use that position value for the downstream newsegments. | |||||
2011-08-01 | mpegtsbase: Remove programs on EOS | Edward Hervey | 1 | -6/+25 | |
Allows subclasses to properly flush out pending data. | |||||
2011-08-01 | tsdemux: Refactor stream/program removal | Edward Hervey | 1 | -34/+15 | |
The program_stopped vmethod was called before stream_removed vmethod was being called. Since we only did stream-related operations in there, we just remove the program_stopped vmethod and do everything in the stream_removed one. Also, make sure we flush out all pending data before sending EOS. | |||||
2011-08-01 | mpegtsbase: Prevent stack gardening by using the right type | Nicolas Dufresne | 1 | -1/+1 | |
stream_type is stored as guint inside the GstStructure but was retreived using valist with a pointer to guint16. This would cause stack gardening when code is compiled without optimisation (e.g. in -O0 the compiler wont pad the stack to optimise out required mask). https://bugzilla.gnome.org/show_bug.cgi?id=655540 | |||||
2011-07-25 | mpegtsbase/tsdemux: Fix stream/pad activation order | Edward Hervey | 3 | -123/+235 | |
We first activate new streams before shutting down old ones. We emit no-more-pads after we add new streams and emit EOS before removing old ones. Also cleanup/refactor a bit more of the code accordingly | |||||
2011-07-20 | pesparse: Fix stuffing byte handling | Edward Hervey | 2 | -11/+14 | |
We in fact get the size of the header (including stuffing bytes), therefore use that instead of trying to skip 0xff bytes ourselves since some media streams do start with 0xff (like mpeg audio's initial 0xfff). | |||||
2011-07-20 | mpegtsdemux: fix compiler warnings | Alessandro Decina | 1 | -2/+4 | |
2011-07-19 | mpegtsbase/tsdemux: Add more comments and removal unused variable | Edward Hervey | 2 | -4/+12 | |
2011-07-19 | mpegtsbase: Avoid double removal of streams | Edward Hervey | 1 | -1/+8 | |
This can happen if the PCR pid is the same as a audio/video PID. | |||||
2011-07-19 | mpegtsbase: Add a GList of streams to the program | Edward Hervey | 3 | -56/+51 | |
Allows faster iteration of all program streams. We still keep the Array to allow fast retrieval of stream by PID. | |||||
2011-07-19 | mpegtsbase: Use a bit array instead of an array of gboolean | Edward Hervey | 3 | -22/+26 | |
Makes know_psi and is_pes 32 times smaller | |||||
2011-07-18 | tsdemux: Use standalone PES parser | Edward Hervey | 1 | -199/+51 | |
2011-07-18 | mpegtsdemux: Add standalone PES parser | Edward Hervey | 3 | -2/+539 | |
2011-07-17 | mpegdefs: clarify some stream ids | Edward Hervey | 1 | -4/+8 | |
2011-07-16 | tsdemux: whoops, tsdemux isn't ready yet for primary rank :) | Edward Hervey | 1 | -1/+1 | |
2011-07-16 | mpegtsbase/tsdemux: Cleanups and comments | Edward Hervey | 3 | -5/+12 | |
2011-07-16 | tsdemux: Fix newsegment creation for push mode | Edward Hervey | 1 | -67/+93 | |
And all relevent comments to what it should be doing, refactor everything a bit. Still not perfect ... but better. Fixes #654657 | |||||
2011-07-16 | mpegtsbase: Store incoming newsegments | Edward Hervey | 2 | -4/+27 | |
2011-07-15 | mpegtsbase: actually set seen_pat=TRUE when we see a PAT | Alessandro Decina | 1 | -1/+1 | |
2011-07-14 | mpegtsbase: Split up whether we saw a PAT and its offset | Edward Hervey | 2 | -2/+6 | |
Fixes the issue with streams that don't set an offset on their buffers, like those coming from hlsdemux. Fixes #653481 | |||||
2011-07-13 | mpegtsdemux: Restore erroneously removed data++ | Olivier Crête | 1 | -6/+12 | |
Also, put back some unused code in comment and replace // comments by /* */ | |||||
2011-07-12 | mpegdemux: Fix unused-but-set warnings | Olivier Crête | 2 | -22/+11 | |
2011-06-17 | tsdemux: only free the index array if it exists | Thiago Santos | 1 | -3/+5 | |
Only free the array if it exists. Contains an unrelated indentation fix, courtesy of gst-indent | |||||
2011-06-12 | tsdemux: Don't free unexistent PAT | Edward Hervey | 1 | -7/+10 | |
And cleanup find_timestamps a bit | |||||
2011-06-07 | tsdemux: More fixes to handle non-188 byte packets | Edward Hervey | 2 | -0/+13 | |
2011-06-07 | mpegts: Stop scanning for keyframes as early as possible | Edward Hervey | 3 | -16/+27 | |
2011-06-07 | mpegtsdemux: always try to seek for to a keyframe | Janne Grunau | 1 | -26/+40 | |
keyframe is expected to lie in the the next ~2500 ms | |||||
2011-06-07 | mpegtsdemux: fix timestamps in newsegement event after seeking | Janne Grunau | 1 | -28/+48 | |
2011-06-07 | mpegtsdemux: payload parsing for H.264 | Janne Grunau | 3 | -4/+189 | |
2011-06-07 | mpegtsdemux: implement key_unit seeking for MPEG2 video | Janne Grunau | 5 | -29/+230 | |
2011-06-07 | mpegtsdemux: accurate seeking | Janne Grunau | 3 | -13/+211 | |
* pes header parsing for pts is ugly, refactor * timestamps/newsegment after seeking is still off | |||||
2011-06-07 | mpegtsdemux: push based seeking based on PCR | Janne Grunau | 6 | -50/+805 | |
buffer timestamps are converted to GstClockTime to cover pcr/pts wraps. multiple pcr/pts wraps are handled with an index which ensures at most a single pcr wraparound between two entries. the last seen pcr is recorded to have a nearby index point for short seeks resuming playback might be delayed if the postion is not a keyframe TODO: replace manual packet scanning and parsing in the initial duration estimation | |||||
2011-06-07 | mpegtsdemux: create function for pcr parsing | Janne Grunau | 3 | -33/+24 | |