summaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove trivial unused variables detected by CLang static analyzer.Edward Hervey2009-04-188-35/+6
|
* Remove blank {set|get}_property/change_state/finalize methods.Edward Hervey2009-04-181-48/+0
|
* Remove unused variables in _class_initEdward Hervey2009-04-185-12/+0
| | | | Detected by LLVM's CLang static analyzer
* pulsesink: fix sample offset calculation againWim Taymans2009-04-161-2/+3
|
* pulsesink: handle NULL timing infoWim Taymans2009-04-101-11/+15
| | | | Don't crash when the timing info is not yet available.
* pulse: make it work on 0.9.12Stefan Kost2009-04-102-12/+22
| | | | | | | | First we ignore request to fill the ringbuffer which are less then a segment. The small request where causing stutter. Then we disable flushing the stream when running against pa 0.9.12 as this triggers an assertiong in the sound server and terminates it. It does not happen with 0.9.10 and 0.9.14.
* pulsesink: handle server disconnect in get_timeWim Taymans2009-04-101-0/+11
| | | | | When the server is disconnected or when we are shut down, make our clock return an invalid time instead of erroring out.
* pulsesink: bps is signed int to avoid overflowWim Taymans2009-04-101-2/+1
| | | | | Keep bps as gint instead of guint because we will be doing signed math with it later on and we don't want weird results.
* pulsesink: check for a streamWim Taymans2009-04-091-19/+8
| | | | | Don't try to change the stream volume (and other things) when we don't have a stream yet. Just store the values for later.
* pulsesink: fix compilation for newer pulseaudioWim Taymans2009-04-091-2/+2
|
* pulsesink: uncork fixes and use prebuf = 0Wim Taymans2009-04-091-77/+69
| | | | | | | We can use prebuf = 0 to instruct pulse to not pause the stream on underflows. This way we can remove the underflow callback. We however have to manually uncork the stream now when we have no available space in the buffer or when we are writing too far away from the current read_index.
* pulsesink: handle write errorsWim Taymans2009-04-091-3/+14
|
* pulsesink: write silence on underflowWim Taymans2009-04-091-0/+38
| | | | | Start filling up the buffer with empty samples when an underflow happens. We need to do this to keep pulseaudio reporting the right time for us.
* pulsesink: handle pull-based schedulingWim Taymans2009-04-091-118/+11
| | | | | Use the default basesink methods for implementing pull based scheduling, it works fine for us.
* pulsesink: add beginnings of pull-based schedulingWim Taymans2009-04-091-19/+116
|
* pulsesink: keep track of clock resetWim Taymans2009-04-091-41/+63
| | | | | | | when we switch streams, the clock will reset to 0. Make sure that the provided clock doesn't get stuck when this happens by keeping an initial offset. We also need to make sure that we subtract this offset in samples when writing to the ringbuffer.
* pulsesink: rewrite pulsesinkWim Taymans2009-04-092-770/+1269
| | | | | Derive from BaseAudioSink and implement our custom ringbuffer that maps to the internal pulseaudio ringbuffer.
* pulse: remove some stray debug linesWim Taymans2009-04-091-8/+0
|
* jpegdec: use slightly more adaptive formula for QoSTim-Philipp Müller2009-04-092-6/+24
| | | | | Should work at least a tad better if the decoder can't keep up, and should also spread dropped frames a bit more evenly over time.
* add pending_samples so that we only update segment's last stop after really ↵Thomas Vander Stichele2009-04-042-1/+9
| | | | sending the samples
* add debuggingThomas Vander Stichele2009-04-041-0/+2
|
* clipping should also work if it's done on the first buffer starting at 0Thomas Vander Stichele2009-04-041-1/+1
|
* id3v2mux: write RVA2 frames containing peak/gain volume dataJonathan Matthew2009-04-021-1/+71
|
* jpegdec: demote some log message from DEBUG to LOGTim-Philipp Müller2009-04-022-9/+12
| | | | And log decoder object.
* jpegdec: implement basic QoSTim-Philipp Müller2009-04-012-3/+129
| | | | Don't decode frames that are going to be too late anyway.
* flac: require a 'newer' flac and remove support for the legacy flac APITim-Philipp Müller2009-03-274-522/+8
|
* jpegdec: put GstSegment inside the element struct instead of allocating it ↵Tim-Philipp Müller2009-03-252-10/+5
| | | | separately
* pulsesink: clean up the state change functionWim Taymans2009-03-231-10/+12
| | | | | Make the state change function a bit more readable and only pause after the parent had a change to pause first.
* pulsesink: Track the corked/uncorked state ourselvesJan Schmidt2009-03-202-1/+5
| | | | | Use an instance variable to track whether the stream is corked or not, instead of using PA API that was only introduced in 0.9.11
* pulse: Make sure the stream is uncorked in the write functionJan Schmidt2009-03-201-4/+23
| | | | | | | If the caps changes, the sink is reset without transitioning through a PAUSED->PLAYING state change, resulting in a corked stream. This avoids the problem by checking that the stream is uncorked when writing samples to it.
* speexenc: fix direction of latency query and other upstream queriesTim-Philipp Müller2009-03-201-2/+4
| | | | | Don't send queries back to the element they just came from by sending them to the peer of the wrong pad.
* pulsesink: Wait until there is enough room to write an entire segmentJan Schmidt2009-03-131-1/+1
| | | | | | | | When trying to write out a segment, wait until there is enough free space for the entire segment. This helps to reduce ripple in the clock reporting, where the app might query the playback position while only half a segment has been written (and is therefore reported by _delay(), even though the ring buffer has not yet been advanced)
* Don't call FLAC__ methods before it's initialized. Fixes #516031Laszlo Pandy2009-03-121-4/+7
| | | | | | | | | | | | | In the event handler, gst_flac_dec_sink_event(), two functions are called on the FLAC stream without checking if it has been initialized: FLAC__stream_decoder_flush() FLAC__stream_decoder_process_until_end_of_stream() Both these FLAC__*() functions modify the internal state of the FLAC stream. Later, when the buffers start flowing, gst_flac_dec_chain() tries to initialize the stream. the FLAC__stream_decoder_init_stream() call will fail because the previous calls to FLAC__*() changed the stream state so it is no longer in the initialized state.
* pngdec: various cleanups.Wim Taymans2009-03-101-21/+44
| | | | | | Make some code more readable. Fix a leak when pull range returns a shot buffer. Push EOS after posting the error.
* flacdec: don't lose the first buffer after a seekWim Taymans2009-03-092-27/+48
| | | | | | | The flacdec API calls the write callback when performing a seek. We cannot yet push out a buffer at that time so we must keep it and push it out later. Flush out the upstream part of the pipeline when doing a seek. Fixes #574275.
* souphttpsrc: Expose the SoupSession 'timeout' property.Edward Hervey2009-03-032-4/+19
|
* Merge branch 'master' of ↵Thomas Vander Stichele2009-03-0214-22/+55
|\ | | | | | | ssh://thomasvs@git.freedesktop.org/git/gstreamer/gst-plugins-good
| * Fix the field dominanceDavid Schleef2009-02-271-2/+2
| | | | | | | | | | PAL is TFF, NTSC is BFF. Some day I will learn to keep this straight.
| * dvdec: Add interlacing info to caps and buffersDavid Schleef2009-02-252-1/+10
| |
| * jpegenc: error out instead of crashing if no caps have been setTim-Philipp Müller2009-02-251-0/+13
| | | | | | | | Don't crash if we receive a buffer without caps. Fixes #572413.
| * gconf: Rename gconf.[ch] to gstgconf.[ch] to prevent name conflictsSebastian Dröge2009-02-244-4/+4
| |
| * Some cleanupsWim Taymans2009-02-232-5/+1
| | | | | | | | | | | | Remove some unused variables. Avoid a useless _resync call. Correctly use a gboolean.
| * gconfvideo(src|sink): Disconnect GConf notificationsSjoerd Simons2009-02-224-2/+14
| | | | | | | | Fixes bug #571321.
| * pulsemixer: Don't use g_atomic_int_(get|set) for accessing the mixer track flagsSebastian Dröge2009-02-221-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | g_atomic_int_(get|set) only work on ints and the flags are an enum (which on most architectures is stored as an int). Also the way the flags were accessed atomically would still leave a possible race condition and we don't do it in any other mixer track implementation, let alone at any other place where an integer could be changed from different threads. Removing the g_atomic_int_(get|set) will only introduce a new race condition on architectures where integers could be half-written while reading them which shouldn't be the case for any modern architecture and if we really care about this we need to use g_atomic_int_(get|set) at many other places too. Apart from that g_atomic_int_(set|get) will result in aliasing warnings if their argument is explicitely casted to an int *. Fixes bug #571153.
| * hdv1394src: Don't use void * pointer arithmeticSebastian Dröge2009-02-221-1/+1
| |
* | Add/clarify/fix some logging.Thomas Vander Stichele2009-03-021-3/+6
|/
* respect DEFAULT segment by clipping the last buffer to be sentThomas Vander Stichele2009-02-211-0/+11
|
* pulsemixer: Fix compiler warnings.Mark Nauwelaerts2009-02-131-6/+6
| | | | | Cast (enum *) to (int *), not necessarily technically right, but plugs #571153.
* pulsesink: Issue property change notification in streaming thread,Mark Nauwelaerts2009-02-132-6/+9
| | | | | | | | | rather than PA thread. pa_threaded_mainloop_lock() (a.o.) and by extension get_property should not be done from a PA thread, but the latter may occur as a result of a property change notification. Fixes #571204 (though current situation not ideal, e.g. post message rather than signal).
* flacdec: if we aborted reading, don't do into an infinite loop.Michael Smith2009-02-051-0/+7
| | | | | If our read callback ran out of data, so had to abort reading, we return GST_FLOW_ERROR instead of going into an infinite loop.