summaryrefslogtreecommitdiffstats
path: root/gst/mpegdemux
AgeCommit message (Collapse)AuthorFilesLines
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
2009-04-21hack for itvhd sid to detect mpeg1 as h264Zaheer Abbas Merali1-2816/+0
2009-04-18mpegtsparse: fix leak of GST_TYPE_LIST gvalueZaheer Merali1-1/+1
2009-04-18mpegtsparse: fix leak in src_pad_queryZaheer Merali1-1/+1
2009-03-13mpegpsdemux: workaround to fix playback of certain malformed clipsJosep Torra1-2/+29
Added a workarround to permit play certain malformed clips where first SCR is greater than last SCR. Fixes bug #454228
2009-03-10mpegdemux: Fixed a bug in the TS scanner. Fixes #574009Josep Torra1-1/+1
2009-03-04mpegtsdemux: reset sync_lut_len to 0 on READY to NULLJosep Torra1-0/+1
2009-03-03mpegtsparse: fix memleakSebastian Pölsterl1-26/+12
Fix memleak in mpegts_packetizer_clear where MpegTSPacketizerStream is not freed properly when using foreach_stream_clear function.
2009-03-03mpegtsdemux: dynamically adjust the sync LUT tableJosep Torra2-5/+17
Make the sync LUT table adjusted dynamically according to the size of scanned data. Fixes demuxing buffers of any size.
2009-02-28mpegtsdemux: Fix memory leaks when PUSI is missed due to packet lossvanista1-2/+5
Fixes bug #573288.
2009-02-25mpegdemux: don't ignore GstFlowReturn valuesWim Taymans1-0/+6
don't ignore the return value of pull_range because we only get a valid non-NULL buffer when the return value is GST_FLOW_OK. Avoids a crash when the pipeline is shutting down.
2009-02-19mpegtsdemux: s/fluts/mpegtsZaheer Merali9-395/+398
Change all definitions from fluts to mpegts.
2009-02-12Make the demuxer reusable in READY->PLAYING->READY->PLAYING cycles byJulien Moutte1-0/+1
flushing adapters correctly.
2009-02-04mpegpsdemux: fixes clossing segment generation.Josep Torra2-26/+56
Ensure that the clossing segment is generated correctly and being properly pushed. Added some GST_DEBUG to check it. Ensure that last_stop is updated in stream time. Calculate duration as delta of PTS as it seems more correct than delta of SCR in some clips that I tested.
2009-02-04mpegpsdemux: several fixes on the seeking function in pul mode.Josep Torra1-8/+9
Removed a line wrongly copy pasted in my previous commit. Avoid an unsigned integer overflow. Seek last_stop in stream time. Clamp last_stop in stream time between first and last SCR. Fixed a typo in the GST_DEBUG line and added some more info.
2009-02-04Moved var declarations to the begin of functionJosep Torra1-4/+8
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.