| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Add check for pulseaudio 0.9.15 and enable 24bits samples in that case.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
finalize is called only once. no need to clear pointers there. dispose is for
unreffing.
|
| |
|
|
|
|
| |
Also merge the two almost identical _add_*_pad() functions into one.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
don't leak the device_description.
some cleanups.
|
|
|
|
| |
Increases the chances that the element is actually reusable.
|
| |
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Replace goto done: with return, as those are checks when we don't want to flag a
pending notify.
|
|
|
|
| |
Move existing check a few lines up, so that we check before accessing fields.
|
|
|
|
| |
Rename internal method for consistency.
|
|
|
|
|
| |
We were putting the requested values back into ringbuffer spec, instead of
using the queried values.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Also, the final fixing up of the headers is expected and not something
we should warn about.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Commit df707c666433a78d3878af6f055698d5756226c4
introduced an obvious bug in the sample length calculation,
using the wrong macro for conversion.
|
|
|
|
|
|
| |
Matching g_malloc() with a g_free() is important when a custom allocator is
installed.
Fixes #583803
|
|
|
|
|
|
|
| |
When "Content-Type" header is "audio/L16", we need to set the caps on the
outgoing buffers so that downstream elements can have means to detect the
stream type and handle it appropriately. Tested with HTTP stream provided
by pulse-audio's http module (git master).
|
| |
|
|
|
|
|
| |
Remove artificial jpeg image limits.
Fixes #583048.
|
|
|
|
|
| |
Occasionally, we get a change callback for an old stream, triggering
the assertion unnecessarily. Just ignore such callbacks.
|
| |
|
|
|
|
|
| |
gst_buffer_replace() will take its own ref, so we still have
to unref the buffer if we don't need it any longer.
|
|
|
|
| |
Fixes compiler warning when compiling with xml stuff in core disabled.
|
|
|
|
|
|
| |
It was previously sending the bogus buffer which was returned from
the bufferalloc (required for reverse negotiation apparently) instead
of the pending buffer.
|
| |
|
|
|
|
|
|
|
|
| |
This allows to set the Referer header among other things by
adding a "extra-headers" property that takes a GstStructure
with field=string pairs.
Fixes bug #581806.
|
| |
|
|
|
|
|
|
|
| |
Store the offset and caps when allocating a buffer during seeking, and then
allocate a new buffer with buffer_alloc before we push it out. This ensures
that in all respects the first buffer decoded during seeking behaves like
all other buffers, including allowing downstream re-negotiation.
|
| |
|
|
|
|
| |
Fixes #579808
|
|
|
|
|
|
| |
JPEG markers may be preceded by additional 0xff. jpegdec should
skip over these, even before the end marker.
See #579808
|
|
|
|
|
|
| |
The libjpeg api says that we need to set the colorspace before we call
_set_defaults(). Indeed, if we don't do that we end up with some very freaky
non-standard quant table and huffman table indexes.
|
| |
|
|
|
|
| |
has been decoded.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Always signal the waiters in the async callbacks. Especially for the volume
callbacks since this might cause deadlocks.
|
|
|
|
| |
tag events
|
|
|
|
|
|
| |
Don't pass a 0 divisor to gst_util_uint64_scale(), or it will complain
in the single image case where fps=0/1 (are we supposed to differentiate
between no fps=still image and fps=0/1=variable rate here btw?)
|
|
|
|
| |
* ext/libpng/gstpngdec.c: Fix size_t vs unsigned int format in error message.
|