summaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* jpegdec: when scanning for 0xff marker ends, ensure desired resultMark Nauwelaerts2009-07-281-0/+4
| | | | | | Otherwise, any non 0xff byte at end of data would be mistaken for a tag byte, and in case of a frame_len 0 tag subsequently lead to an infinite loop.
* pulsesink: avoid using ivalid stream indexesWim Taymans2009-07-271-5/+27
| | | | | | | when we get an invalid stream index from pulse because we were just starting, avoid using it for getting and setting the volume. Fixes #589365
* jpeg: make encoder work with libjpeg v7Stefan Kost2009-07-241-0/+4
| | | | We have to specify do_fancy_downsampling = FALSE in the encoder with did not exist before.
* flacdec: Implement SEEKING querySebastian Dröge2009-07-231-3/+22
| | | | Fixes bug #589423.
* pulsesink: Fix a couple error messages that mentioned incorrect function names.Colin Guthrie2009-07-231-2/+2
| | | | Fixes #589459.
* flacdec: fix intermittent FLAC__STREAM_DECODER_ABORTED errors when seekingTim-Philipp Müller2009-07-212-5/+33
| | | | | | | | | | | | | When seeking in a local flac file (ie. operating pull-based), the decoder would often just error out after the loop function sees a DECODER_ABORTED status. This, however, is the read callback's way of telling our loop function that pull_range failed and streaming should stop, in this case because of the flush-start event that the seek handler pushed upstream from the seeking thread. Handle this slightly better by storing the last flow return from pull_range, so the loop function can evaluate it properly when it encounters a DECODER_ABORTED and take the right action. Fixes #578612.
* jpeg: code cleanups for encoderStefan Kost2009-07-214-46/+78
| | | | | | Remove some disabled code in encoder. Try #if 0'ed code and add comments about why it is disabled. Move idct-method enum to jpeg.c and use in both encoder and decoder. Add idct-method property to encoder.
* pulsesink: set some values to their defaultsWim Taymans2009-07-201-2/+2
| | | | | Set the minreq and maxlength buffer attributes to -1 to let puleseaudio select a sensible value.
* pulsesink: don't wait for posted messageWim Taymans2009-07-201-6/+1
| | | | | | | | We can't wait for the ENTER/LEAVE messages to be be posted because the base class sometimes calls the start method with the object lock, which would block the message posting. Instead, just assume that the message will be posted soon and continue. We'll have to fix this in the base class.
* pulsesink: use relative seeksWim Taymans2009-07-201-4/+14
| | | | Use relative seeks because I was told that absolute seeks don't work.
* cairorender: Add support for ARGB/BGRA inputSebastian Dröge2009-07-201-4/+43
| | | | | Note that videotestsrc outputs 100% transparent video which will result in white output from cairorender.
* cairorender: Add to the documentationSebastian Dröge2009-07-171-0/+14
|
* cairorender: Return not-negotiated if we have no capsSebastian Dröge2009-07-171-0/+4
|
* cairorender: Fix caps and colorspace handlingSebastian Dröge2009-07-172-10/+22
|
* cairorender: Use correct mimetypes for PDF and SVGSebastian Dröge2009-07-171-5/+4
|
* cairorender: Remove pull mode, it only adds complexity but not advantagesSebastian Dröge2009-07-171-77/+5
|
* cairorender: Fix caps negotiation and cairo surface creationSebastian Dröge2009-07-161-54/+34
|
* cairorender: Correctly set srccapsSebastian Dröge2009-07-161-22/+20
|
* cairorender: Move instance/class struct definitions to the headerSebastian Dröge2009-07-162-21/+24
|
* cairorender: Add Lutz' copyright to the file headerSebastian Dröge2009-07-162-0/+4
|
* cairo: Add cairo-based PDF/PS/SVG encoder elementLutz Mueller2009-07-164-3/+463
| | | | Fixes bug #331420.
* flacenc: Optionally write a PADDING blockSebastian Dröge2009-07-162-3/+35
| | | | | | | The size of the PADDING block is specified by a new "padding" property. Fixes bug #588483.
* souphttpsrc: Only assume seekability if the server provides Content-LengthSebastian Dröge2009-07-161-1/+2
| | | | | | | Previously seekability way always assumed until the first seek actually failed. Now we assume that all servers are not seekable unless they provide a Content-Length header. If a seek fails after that we continue to assume no seekability. Fixes bug #585576.
* souphttpsrc: don't try to authenticate if no username/password is set.Arnout Vandecappelle2009-07-161-2/+4
|
* pulsesink: Emit stream-status leave messageOlivier Crête2009-07-141-0/+30
| | | | Fixes #587695
* pulsesink: Emit stream-status enter messageOlivier Crête2009-07-142-0/+32
| | | | | | | Emit stream-status messages for the pulse thread. Don't use our own GCond for signaling but simply use the pulse mainloop mechanisms for synchronisation. See #587695
* pulsesink: debug the latency update valuesWim Taymans2009-07-141-0/+22
|
* pulsesink: add 24bit sample formatsWim Taymans2009-07-142-1/+24
| | | | Add check for pulseaudio 0.9.15 and enable 24bits samples in that case.
* flacdec: Don't send empty string tagsEdward Hervey2009-07-011-1/+2
|
* 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.
* 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.
* raw1394: sprinkle branch likeliness macros accross the code.Edward Hervey2009-06-242-7/+10
|
* dvdemux: post container-format tagTim-Philipp Müller2009-06-221-44/+28
| | | | Also merge the two almost identical _add_*_pad() functions into one.
* dvdemux: don't screw up first audio bufferTim-Philipp Müller2009-06-221-21/+21
| | | | | | Query the audio format, esp. dvdemux->num_channels, before we use that variable to allocate the initial buffer. That way we don't accidentally push a zero-sized buffer as first audio buffer.
* pulseink: don't leak device_descriptionWim Taymans2009-06-191-12/+20
| | | | | don't leak the device_description. some cleanups.
* souphttpsrc: reset session state when stoppingTim-Philipp Müller2009-06-161-23/+24
| | | | Increases the chances that the element is actually reusable.
* souphttpsrc: log response and request headers and fix some broken indentingTim-Philipp Müller2009-06-161-28/+14
|
* pulsesink: ref custom ring buffer class and type in class_initTim-Philipp Müller2009-06-151-0/+4
| | | | | | | Hack around thread-safety issues in GObject and our racy _get_type() functions (we could easily fix the _get_type() functions, but we still need to hack around the GObject class races until we require a newer GLib version, I think).
* Remove a few old example apps from the 0.8 daysTim-Philipp Müller2009-06-141-101/+0
| | | | | | | | | | | Some have been replaced by newer ones, others are demoing elements that don't exist any longer (not in -good anyway), and others have not been touched in many years and it seem pointless to keep them around. Removing these files makes sure we don't have any code in our repository that uses Gtk+ symbols which are to be removed for GNOME3, and as such will make some script that greps for this kind of stuff give us a clean bill of code health. Fixes #585757.
* pulsesink: handle border cases in resamplerWim Taymans2009-06-111-2/+5
|
* pulsesink: only notify if all checks passedStefan Kost2009-06-041-4/+3
| | | | | Replace goto done: with return, as those are checks when we don't want to flag a pending notify.
* pulsesink: check pointer before accessingStefan Kost2009-06-031-3/+3
| | | | Move existing check a few lines up, so that we check before accessing fields.
* pulsesink: rename gst_pulse_sink_get_time to gst_pulsesink_get_timeStefan Kost2009-06-031-2/+2
| | | | Rename internal method for consistency.
* pulsesink: use values from pa_stream_get_buffer_attr()Stefan Kost2009-06-031-4/+6
| | | | | We were putting the requested values back into ringbuffer spec, instead of using the queried values.
* pngdec: Avoid possible overflow in calculationsJan Schmidt2009-06-021-4/+16
| | | | | | A malformed (or simply huge) PNG file can lead to integer overflow in calculating the size of the output buffer, leading to crashes or buffer overflows later. Fixes SA35205 security advisory.
* flacenc: some more logging - dump header packetsTim-Philipp Müller2009-06-021-6/+12
| | | | | Also, the final fixing up of the headers is expected and not something we should warn about.
* flacenc: never ever pass values >36bits to _set_total_samples_estimate()Tim-Philipp Müller2009-06-021-1/+1
| | | | | | | | | Let's be paranoid and make sure we never pass a number that takes up more than 36 bits to _set_total_samples_estimate(), since libFLAC expects all the other bits to be zero, and if this is not the case neighbouring fields in the global stream info header may get messed up inadvertently, so that flac -d refuses to decode the stream. See #584455.