Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | avi: fix prev keyframe search and cleanups | Wim Taymans | 2009-09-28 | 1 | -36/+34 |
| | |||||
* | avi: remove code that got converted | Wim Taymans | 2009-09-28 | 1 | -404/+0 |
| | |||||
* | avi: more cleanups | Wim Taymans | 2009-09-28 | 2 | -100/+155 |
| | | | | | | | | Remove some duplicate counters. Be smarter when updateing the current the timestamp and offset in the stream because we can reuse previously calculated values when simply go forward one step. Correctly set metadata on outgoing buffers. | ||||
* | avidemux: small cleanups | Wim Taymans | 2009-09-28 | 2 | -24/+30 |
| | |||||
* | avi: fix read offset and cleanups | Wim Taymans | 2009-09-28 | 1 | -25/+27 |
| | |||||
* | avi: rewrite index playback | Wim Taymans | 2009-09-28 | 2 | -388/+628 |
| | | | | | | disable code, start on reimplementing loop based operation. Rewrite the index handling so that all streams use their own index for decoding media. | ||||
* | avidemux: add new index parsing code | Wim Taymans | 2009-09-28 | 2 | -0/+211 |
| | | | | | | | | | | | | Add a new function and datastructure to parse and hold the index entries on a per stream base. Also avoid doing too much work trying to figure out the timestamps and durations as we can trivially do that later. Less information in the entries makes them 2 times smaller and not doing too much work makes this code about 12 times faster than the regular case. Hook in the new function alongside the existing function for comparison until the rest of the code is updated to handle the new index datastructure. | ||||
* | jpeg: handle more libjpeg return values, add some more branch hints | Stefan Kost | 2009-09-28 | 1 | -34/+50 |
| | | | | Also remove unused size variable in _chain(). | ||||
* | qtdemux: some optional QT specified stsd MPEG-4 atoms also apply to H264 | Mark Nauwelaerts | 2009-09-25 | 1 | -0/+10 |
| | | | | Fixes #596319. | ||||
* | qtdemux: only send tag events downstream after newsegment | Mark Nauwelaerts | 2009-09-25 | 1 | -16/+63 |
| | |||||
* | rtspsrc: if transport protocol unsupported, try another one | Mark Nauwelaerts | 2009-09-25 | 1 | -7/+35 |
| | | | | | Also change error message to more accurately reflect cases in which it can occur. | ||||
* | qtdemux: add durations modulo 1<<32 | Wim Taymans | 2009-09-25 | 1 | -1/+2 |
| | | | | | | | For calculating the durations of each sample, we are supposed to add each duration modulo 1<<32 so make the elapsed time counter a uint32. Fixes #595942 | ||||
* | qtdemux: small cleanup | Wim Taymans | 2009-09-24 | 1 | -9/+11 |
| | |||||
* | qtdemux: don't use core API that doesn't exist yet | Tim-Philipp Müller | 2009-09-24 | 1 | -1/+7 |
| | | | | There's no gst_byte_reader_has_remaining() yet. Fixes build. | ||||
* | qtdemux: map some atomparser functions to their new bytereader equivalents | Tim-Philipp Müller | 2009-09-24 | 1 | -79/+27 |
| | | | | | Now that GstByteReader has unchecked and inlined variants as well, map atomparser functions to their respective bytereader equivalents. | ||||
* | qtdemux: add qt_atom_parser_has_chunks() and fix indentation | Tim-Philipp Müller | 2009-09-24 | 3 | -22/+33 |
| | |||||
* | qtdemux: bail out instead of trying to alloc silly index sizes | Tim-Philipp Müller | 2009-09-24 | 1 | -3/+20 |
| | | | | | | | If it looks like we would be allocating a silly size for our sample index, just bail out instead of trying to allocate it. Helps with broken or fuzzed files where we might end up trying to malloc a couple of hundred MBs otherwise. | ||||
* | qtdemux: error out correctly if we don't even have enough bytes for an atom ↵ | Tim-Philipp Müller | 2009-09-24 | 1 | -4/+14 |
| | | | | header | ||||
* | qtdemux: init fourcc to 0 as well to avoid invalid reads when printf'ing ↵ | Tim-Philipp Müller | 2009-09-24 | 1 | -1/+1 |
| | | | | error message | ||||
* | qtdemux: add qt_atom_parse_has_remaining() to avoid overflows with ↵ | Tim-Philipp Müller | 2009-09-24 | 3 | -23/+30 |
| | | | | _get_remaining() | ||||
* | qtdemux: use GstByteReader when parsing tkhd atom | Tim-Philipp Müller | 2009-09-23 | 1 | -9/+16 |
| | |||||
* | qtdemux: use unsigned ints for node length and do more sanity checking of ↵ | Tim-Philipp Müller | 2009-09-23 | 1 | -10/+23 |
| | | | | the atom length | ||||
* | qtdemux: use GstByteReader for atom dumping and fix a few bugs | Tim-Philipp Müller | 2009-09-23 | 4 | -305/+455 |
| | |||||
* | qtdemux: move stco, stts, stss and stps atom parsing over to GstByteReader | Tim-Philipp Müller | 2009-09-23 | 1 | -121/+155 |
| | | | | | | | | | | | Make sure we don't read beyond the atom boundary. Note that the code behaves slightly differently in the corner case where there is not enough atom data for the specified number of samples (n_samples_time) in the atom, but still enough data to fill the pre-allocated index of n_samples entries: before we would just stop parsing the stts data and continue, whereas now we will likely error out. This should not be a problem in practice though. We could maintain the old behaviour by doing reads with a size check inside the loop if needed. | ||||
* | qtdemux: use bytereader to parse stsz and stsc atoms | Tim-Philipp Müller | 2009-09-23 | 1 | -32/+99 |
| | | | | | | Use GstByteReader to parse stsz and stsc chunks, and check size of available data before parsing it, instead of blindly assuming there will be enough data. Fixes crashes with some fuzzed/broken files. | ||||
* | qtdemux: add qt_atom_parser_get_offset() and optimise _peek_sub() | Tim-Philipp Müller | 2009-09-23 | 1 | -2/+28 |
| | |||||
* | qtdemux: add QtAtomParser, an inlined GstByteReader variant | Tim-Philipp Müller | 2009-09-23 | 3 | -0/+127 |
| | |||||
* | matroskademux: use proper order for no-more-pads and newsegment and tag sending | Mark Nauwelaerts | 2009-09-23 | 2 | -12/+48 |
| | |||||
* | matroskademux: sprinkle a few branch prediction macros | Mark Nauwelaerts | 2009-09-23 | 1 | -8/+7 |
| | |||||
* | Fix compile warnings with gcc 4.0.1. | Alessandro Decina | 2009-09-22 | 4 | -13/+13 |
| | |||||
* | matroskamux: Don't get stuck in an infinite loop with Dirac | Jan Schmidt | 2009-09-22 | 1 | -2/+7 |
| | | | | | | At the end, Dirac streams have an EOS packet with 0 length. Don't ever sit in an infinite loop when processing one. Allows muxing Dirac into mkv to complete successfully. | ||||
* | Update .gitignore | Tim-Philipp Müller | 2009-09-22 | 1 | -0/+2 |
| | |||||
* | videomixer: fix up Makefile some more | Tim-Philipp Müller | 2009-09-22 | 1 | -1/+1 |
| | | | | | Remove CFLAGS from LIBADD and make order of the various CFLAGS and LIBS at least consistent with each other. | ||||
* | videomixer: Add $(GST_PLUGINS_BASE_LIBS) to LDFLAGS for linking libgstvideo | Brian Cameron | 2009-09-22 | 1 | -1/+1 |
| | | | | Fixes bug #595897. | ||||
* | avi: fix timestamps in push mode | Wim Taymans | 2009-09-21 | 1 | -6/+8 |
| | |||||
* | jpegdec: add a G_UNLIKELY and put perf-cat log to code path that copies | Stefan Kost | 2009-09-21 | 1 | -1/+6 |
| | |||||
* | avi: add some performance measurements | Wim Taymans | 2009-09-21 | 1 | -4/+38 |
| | | | | | Measure the performance of various index and header parsing steps to the PERFORMANCE debug category. | ||||
* | speexdec: allow for unknown varying number of frames per buffer | Mark Nauwelaerts | 2009-09-18 | 1 | -3/+4 |
| | | | | | In particular, this caters for RTP payloads with multiple frames per packet. | ||||
* | speexdec: use correct sample size in conversions | Mark Nauwelaerts | 2009-09-18 | 1 | -4/+4 |
| | |||||
* | speexenc: fix buffer time and duration for multiple frames per packet | Mark Nauwelaerts | 2009-09-18 | 1 | -4/+5 |
| | |||||
* | avidemux: some logging cleanup to help understanding the index parsing overhead | Stefan Kost | 2009-09-18 | 1 | -14/+38 |
| | |||||
* | osxaudio: link against GST_BASE_LIBS | David Schleef | 2009-09-16 | 1 | -0/+1 |
| | |||||
* | rtpg729pay: Fix adapter leak | Olivier Crête | 2009-09-15 | 1 | -1/+1 |
| | | | | The adapter would be leaked if it was empty and the data could be pushed out directly. | ||||
* | pulsesrc: Don't dereference NULL pointers | Sebastian Dröge | 2009-09-15 | 1 | -0/+5 |
| | | | | | | pa_stream_get_timing_info() can return NULL. Fixes bug #595220. | ||||
* | pulsesink: Don't dereference NULL pointers | David Henningsson | 2009-09-15 | 1 | -0/+4 |
| | | | | | | pa_stream_get_timing_info() can return NULL. Fixes bug #595220. | ||||
* | pulsesink: handle stream events | Wim Taymans | 2009-09-14 | 1 | -0/+33 |
| | | | | | Handle stream events and request a PAUSE/PLAY state change from the application when we receive a CORK/UNCORK event. | ||||
* | multifilesink: Add next-file property | David Schleef | 2009-09-13 | 2 | -17/+131 |
| | | | | | | | | Add a property to allow control over what event causes a file to finish being written and a new file start. The default is the same as before -- each buffer causes a new file to be written. Added is a case where buffers are written to the same file until a discontinuity in the stream. | ||||
* | dvdemux: Use values from decoder structure directly | David Schleef | 2009-09-13 | 2 | -11/+7 |
| | | | | | | Don't store the same values in the GstDvDemux. This fixes a bug where dvdemux would detect a stream as PAL instead of NTSC, and silently parse it wrong. | ||||
* | dvdemux: Add code to parse SMPTE time codes | David Schleef | 2009-09-13 | 4 | -0/+393 |
| | | | | Code to convert time codes to/from timestamps and frame numbers. | ||||
* | dvdemux: Fix detection of new media | David Schleef | 2009-09-13 | 2 | -1/+33 |
| | | | | | | There are 5 or 6 AAUX source control packs in a frame, and any of them could have REC_ST cleared, indicating a recording start point. libdv only checks the first. |