summaryrefslogtreecommitdiffstats
path: root/gst/mpegdemux
AgeCommit message (Collapse)AuthorFilesLines
2009-08-08mpegtsdemux: Don't answer the SEEKING query if we don't know the answer yetSebastian Dröge1-0/+7
A bitrate!=-1 is required for seeking but the bitrate is only calculated after the second PCR was read. Fixes bug #590446.
2009-08-07mpegtsdemux: fix a memory leakJosep Torra1-1/+4
2009-08-07mpegtsdemux: added VC1, EAC3 and LPCM related to blueray/hdmvJosep Torra2-31/+62
2009-08-07mpegpsdemux: added caps for AAC and fixed playback of a clip with LPCMJosep Torra1-4/+17
2009-08-07mpegpsdemux: improved demuxer performanceJosep Torra2-59/+127
Increased performance doing pull_range in blocks of 32Kb instead of 4Kb. Caching the value of gst_adapter_available instead of calling it 3 times. Added some comments with the header descriptions. Peek enough data to avoid a corner case where could be readed data outside the buffer. Speed up some more inlining some functions and keeping another stream pointer list to be used as iterator. Sprinkle branch prediction macros accross the code. Handling the seeking with flush in pull mode in the proper way.
2009-08-05mpeg[pt]sdemux: Fix SEEKING querySebastian Dröge2-2/+2
Send the BYTES based query downstream, not the orignal one.
2009-07-23mpegdemux: Remove some backward compatibility codeSebastian Dröge2-116/+1
Also we always require liboil so use it unconditionally.
2009-07-23mpegdemux: Implement query type function for the src padsSebastian Dröge2-0/+32
2009-07-22mpegdemux: don't add a base_time==-1 to segment positionsStefan Kost1-5/+9
Fixes assertion about newsegment with start=-1.
2009-07-21mpegpsdemux: Implement SEEKING querySebastian Dröge1-0/+55
Fixes bug #588944.
2009-07-21mpegtsdemux: Implement SEEKING querySebastian Dröge1-0/+45
Partially fixes bug #588944.
2009-07-21mpegtsparse: Free the PMT before setting a new oneSebastian Dröge1-0/+3
2009-07-21mpegtsparse: Remove old PES PIDs when receiving PAT tablesMikael Magnusson1-22/+32
Fixes bug #583470.
2009-07-18mpegdemux: Fix integer overflowMatijs van Zuijlen1-2/+2
This breaks playback of files >4 GB as the offset was a guint before. Changing it to a guint64 fixes this.
2009-07-17mpegtsparse: add component tag to the video component structure in eitZaheer Merali1-1/+3
2009-07-16mpegtsdemux: Don't use PIDs > MPEGTS_MAX_PIDAleksey Yulin1-1/+2
The mpegtsdemux streams array only has MPEGTS_MAX_PID entries and accessing one afterwards will result in crashes. Fixes bug #575672.
2009-07-16pesfilter: Permit unbounded packets for 0xfd (extended stream id).Josep Torra1-2/+47
Added parsing of PES extension related data. Fixes some VC1 related issues.
2009-07-15mpegtsparse: add component tag to structure for component messageZaheer Merali1-2/+4
2009-07-08mpegtsdemux: Fix double freeSebastian Pölsterl1-3/+0
The hash table already makes sure that the stream is correctly free'd when elements are removed. Fixes bug #587819.
2009-07-08mpegtsparse: parse component tagMiguel Àngel Farré1-1/+7
2009-07-08mpegtsparse: parse carousel identifier descriptorMiguel Àngel Farré2-0/+12
2009-07-08mpegtsparse: add parsing of data broadcast descriptorsZaheer Abbas Merali2-0/+37
2009-07-02mpegtsparse: fix sdt parsing.Zaheer Abbas Merali1-9/+28
fix parsing of everything for each service from eit schedule flag on and also add a running-status parameter to the bus message structure.
2009-06-05mpegtsdemux: Fix HDV private stream definition/caps.Edward Hervey2-6/+11
2009-06-04mpegdemux: Add a GST_MEMDUMP line in the descriptor parsingJan Schmidt1-1/+3
Make it possible to see descriptor contents in the debug output (GST_DEBUG=mpegtsdesc:9), and remove a stray semi-colon.
2009-06-04mpegtsdemux: Avoid passing the custom GST_FLOW_NEED_MORE_DATA upstreamJan Schmidt1-5/+6
Don't return GST_FLOW_NEED_MORE_DATA from the chain function at the end of files.
2009-05-29mpegtsdemux: Fix bogus uninitialised variable accessJan Schmidt1-2/+1
Typo in the previous commit
2009-05-29mpegtsdemux: Use the ISO 639 language code descriptor to send tags.Jan Schmidt1-4/+41
If there is an ISO 639 language descriptor for a stream, send a language code tag so that players can show a meaningful language for the audio and subtitle streams.
2009-05-26mpegdemux: Only treat streams from 0xa0 to 0xaf as LPCM, not 0xa0..0xbfJan Schmidt1-1/+1
Don't treat some streams (Private Stream 2) as LPCM when they're not. Fixes playback of files that have private streams in them now that the PES filter emits such packets.
2009-05-26mpegdemux: Add sparse stream filling.Jan Schmidt2-0/+97
First stab at sending new-segment events to effect sparse stream updates.
2009-05-26mpegdemux: Add support for outputting sub-picture streams found in files.Jan Schmidt2-8/+32
Output subpicture streams when they are found on the private stream ID. Don't strip off the first byte of such packets when pushing.
2009-05-26mpegtsdemux: Add mapping for DVD and Bluray subpicture streams.Jan Schmidt4-5/+28
Add output subpicture pads for DVD (video/x-dvd-subpicture) and Bluray PGS (subpicture/x-pgs) streams. Remove an unused variable from the PES filter.
2009-05-25gstpesfilter: Directly use gst_adapter_take_buffer().Edward Hervey1-7/+1
2009-05-25gstpesfilter: Don't peek the adapter if we don't have enough data.Edward Hervey1-3/+3
2009-05-25gstpesfilter: Don't skip private streams PES but push them out.Edward Hervey1-1/+3
The one thing we *DO* need to do for those streams is to skip all the PTS/DTS/Scrambling/DSM/extension/... handling.
2009-05-25mpegtsdemux: Ignore NULL packets as early as possible.Edward Hervey1-1/+7
This avoids: * creating a MpegTSStream structure for nothing * processing packet data for nothing
2009-05-25mpegtsdemux: Add mapping for HDV private streamsEdward Hervey2-0/+12
2009-05-22mpegtsdemux: fix memleaks and refcountsWim Taymans1-4/+3
Use correct constants for PID_type so that we clear the right filter. provide_clock must return a ref to a clock.
2009-05-11mpegtsdemux: Protect bitrate estimation against bogus values.Edward Hervey2-5/+18
If the estimated bitrate is lower than 188 bytes, there's most likely something completely wrong with the two samples. If that happens, force recalculation. Use guint64 for observation PCR, I saw cases where it would overflow.
2009-05-11mpegtsdemux: Only take PCR from the active stream for bitrate estimation.Edward Hervey1-6/+13
2009-05-11mpegtsdemux: Change debugging levels for very frequent messages.Edward Hervey1-14/+16
This allows debugging with mpegtsdemux:4 while being able to track what's going on (and avoid taking up as much cpu for debugging as for the actual demuxing process).
2009-05-11mpegtsdemux: Revert indentation and comment header file.Edward Hervey1-93/+98
One shouldn't run gst-indent on .h files, in this case it was un-beautifying the indentation :)
2009-05-08mpegtsdemux: Add initial naive seeking support and fix duration query.Zaheer Merali2-117/+341
Sync from gst-fluendo-mpegdemux and have seeking/duration query improvements in. No support however for wrapped around pcrs etc. but a start nonetheless. Also fix indentation issues.
2009-05-04mpegtsparse: Remember pids that are meant to be stream pids.Zaheer Abbas Merali2-0/+15
Fixes #569781
2009-05-03mpegtsparse: Ignore subtable extension when parsing PATVincent Genieux3-5/+23
Fixes #569673.
2009-05-03mpegtsparse: make safe changing the program-numbers property dynamicallyVincent Genieux2-24/+25
Fixes #569437.
2009-04-21mpegdemux: 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-04-21mpegtsdemux: 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-04-21mpegtsparse: detect AC3 streams in PMT tableZaheer Abbas Merali1-0/+12
add 'has-ac3' boolean to pmt bus message
2009-04-21itv hd hackZaheer Abbas Merali1-0/+2821