summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* qtdemux: sprinkle some more constMark Nauwelaerts2009-07-081-13/+13
|
* qtdemux: perform some more (careful) data bufferingMark Nauwelaerts2009-07-081-14/+36
| | | | | | | Once buffering has started (with an mdat atom), continue buffering until moov atom is reached, which handles cases with multiple mdat atoms. Also keep adapter/offset better in sync with upstream and fix some debug statements. Fixes #587426.
* avidemux: Replace deprecated GST_DISABLE_DEBUG with correct macro. Fixes #587826Philip Jägenstedt2009-07-061-7/+7
|
* qtdemux: error out instead of dividing by 0Tim-Philipp Müller2009-07-011-1/+4
| | | | Error out if timescale is 0.
* Revert "qtdemux: Make sure we don't blacklist streams by wrongly comparing ↵Tim-Philipp Müller2009-07-011-3/+3
| | | | | | | | | their" This reverts commit 5503a59a5779b67451d8a271000181790ee76bc7. Reverting this since it causes regressions with a lot of sample files I have, all of which worked fine with the last -good release (#586891).
* qtdemux: comment out unused structureTim-Philipp Müller2009-07-011-3/+3
|
* qtdemux: more size checks, and use g_try_new0() instead of g_new0()Tim-Philipp Müller2009-07-011-3/+21
| | | | | | | Whenever we alloc something based on a user-supplied size, we should really use g_try_new(), otherwise we can easily be made to abort by passing a ridiculously large number to us for allocing. Fixes problems with some fuzzed files.
* qtdemux: guard against bogus atom sizes and short readsTim-Philipp Müller2009-07-011-8/+49
| | | | | | | | | | Check the possibly 64-bit atom size more carefully before casting it to an int and passing it to gst_pad_pull_range(), otherwise we might end up pulling 0 bytes, getting an empty buffer as requested and dereferencing not available data whilst thinking we actually asked for and got 0x1000000000000 bytes. Similar fix for push mode operation where neededbytes ends up being 0 bytes, which makes us assert. Fixes crash with broken or fuzzed file (NB #122378).
* qtdemux: use 0x prefix when logging numbers in hexTim-Philipp Müller2009-07-011-2/+2
|
* flacdec: Don't send empty string tagsEdward Hervey2009-07-011-1/+2
|
* Don't use sendmsg()-dependent code on WindowsLRN2009-06-301-0/+6
| | | | Fixes #585842
* law: fix caps and negotiationWim Taymans2009-06-306-129/+170
| | | | | | Fix the caps to include the depth (instead of width twice) in the caps of audio/x-raw-int. Fix negotiation to not only copy the rate/channels of the first structure.
* pulsesink: include "1.0=100%" in volume and change upper limitStefan Kost2009-06-301-1/+7
| | | | | | Upper volume limmit was 1000. That appear unneceasrily high. It would also cause sever distortion if accidentialy used. Now its 10 (~ +15db) which is also in sync with volume and playbin2.
* pulse: some more trivial cleanupsWim Taymans2009-06-291-20/+19
|
* pulse: trivial cleanupsWim Taymans2009-06-291-13/+2
|
* pulsesink: clear ringbuffer when asked toWim Taymans2009-06-291-0/+23
| | | | | | Since we map the ringbuffer to the pulseaudio internal ringbuffer, flush the pulseaudio buffer when we are asked to clear the ringbuffer. This avoids some leftover audio after a seek.
* autogen.sh: Actually do the 'echo -n' -> printf change.Jan Schmidt2009-06-261-1/+1
|
* autogen.sh: Use printf instead of 'echo -n'. Check for automake-1.1[01]Jan Schmidt2009-06-261-1/+1
| | | | | Check for more automake command variants. Use printf instead of 'echo -n' for portability
* Automatic update of common submoduleJan Schmidt2009-06-261-0/+0
| | | | From f810030 to 5845b63
* qtdemux: don't process track_num/track_count tags with a 0 valueTim-Philipp Müller2009-06-261-3/+10
| | | | | Number/count values of 0 mean they're not set. Don't put those in the taglist.
* waveformsink: use 'guint8' instead of 'byte' to fix compilation with MSVC8Tim-Philipp Müller2009-06-251-1/+1
| | | | | | We need a cast here for pointer arithmetic to work correctly, but some MSVC versions don't seem to like 'byte', so use guint8 here. Hopefully fixes #585361.
* v4l2src: set structs to zero before using them in ioctlsStefan Kost2009-06-251-5/+5
| | | | This fixes valgrind warnings.
* qtdemux: Make sure we don't blacklist streams by wrongly comparing theirJulien Moutte2009-06-251-3/+3
| | | | duration with entire clip duration.
* rtpdec: fix some buffer leaksKrzysztof BÅ‚aszkowski2009-06-251-0/+3
|
* flvparse: Add missing break in switch/case.Edward Hervey2009-06-251-0/+1
|
* flvdemux: Remove unused variable, hint branch likeliness, add comments.Edward Hervey2009-06-251-8/+8
|
* avidemux: Removed unused variableEdward Hervey2009-06-251-2/+0
|
* qtdemux: Remove dead assignments and unused variables.Edward Hervey2009-06-251-9/+3
| | | | Also add branch likeliness macros.
* qtdemux: Fix uninitialized variables. Fixes build on macosxEdward Hervey2009-06-251-5/+5
|
* souphttpsrc: free memory in finalizeStefan Kost2009-06-241-12/+6
| | | | | finalize is called only once. no need to clear pointers there. dispose is for unreffing.
* Automatic update of common submoduleJan Schmidt2009-06-241-0/+0
| | | | From 6ab11d1 to f810030
* avidemux: short-circuit gst_avi_demux_src_convert() when parsing the indexTim-Philipp Müller2009-06-241-37/+51
| | | | | | | | Don't call gst_avi_demux_src_convert() for each single index entry. Not only do we already have the pointer to the stream context, we also know the formats we want to convert from and to already, so we may just as well use optimised conversion routines that bypass some of the checks and lookups made in gst_avi_demux_src_convert().
* qtdemux: Another round of G_*LIKELY micro-optimisations.Edward Hervey2009-06-241-26/+28
|
* qtdemux: Take last sample duration for dummy segment calculation.Edward Hervey2009-06-241-2/+4
| | | | | This fixes the cases where files without EDL wouldn't output their last buffer.
* avidemux: Sprinkle branch likeliness macros over the code.Edward Hervey2009-06-241-26/+29
|
* raw1394: sprinkle branch likeliness macros accross the code.Edward Hervey2009-06-242-7/+10
|
* qtdemux: Add GST_MEMDUMP statements for unknown atoms.Edward Hervey2009-06-241-2/+13
| | | | This is to help developers track down and implement unhandled atoms faster.
* deinterlace: Remove the interlaced field from the output caps if ↵Sebastian Dröge2009-06-231-0/+8
| | | | deinterlacing is enabled
* deinterlace: Copy the correct line from correct place in the historySebastian Dröge2009-06-231-1/+2
|
* rtspsrc: use same protocols after redirectWim Taymans2009-06-231-0/+11
| | | | | After a redirect we want to use the same protocols that we were using for the current url.
* qtdemux: don't leak cover artTim-Philipp Müller2009-06-231-0/+1
|
* udp: fix compiler warning about EAI_ADDRFAMILY getting redefined in some casesTim-Philipp Müller2009-06-231-2/+2
| | | | | | | Include the header from where we include all the system headers with the socket stuff before we try to define EAI_ADDRFAMILY ourselves, otherwise we define it ourselves and then get a compiler warning if a system header defines it as well without guarding against it being defined already.
* matroska: and the new headers tooWim Taymans2009-06-231-2/+2
|
* matroske: fix compiler errorWim Taymans2009-06-231-4/+4
| | | | | | change gpointer to guint8 * for codec_state and codec_priv as some functions operate on those types and it avoids breaking strict-aliasing rules.
* matroskademux: avoid leaking buffersWim Taymans2009-06-231-2/+11
| | | | | | | | Don't leak buffers when resyncing to a keyframe. Avoid leaking buffers when exiting the loop on error conditions. Add some more debug info. Fixes #585911
* v4l2: open/close the device in READYStefan Kost2009-06-221-9/+39
| | | | | This allows to query the device in READY. Before one need to switch it to PAUSED and that also starts streaming.
* qtdemux: use GST_MEMDUMPTim-Philipp Müller2009-06-222-19/+6
|
* apedemux: add container-format tagTim-Philipp Müller2009-06-222-0/+8
| | | | Use pbutils here because the string is translated.
* id3demux: add container-format tagTim-Philipp Müller2009-06-222-3/+19
| | | | Using pbutils here because the string is translated.
* dvdemux: post container-format tagTim-Philipp Müller2009-06-221-44/+28
| | | | Also merge the two almost identical _add_*_pad() functions into one.