| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Detected by LLVM's CLang static analyzer
|
| |
|
|
|
|
| |
Don't crash when the timing info is not yet available.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
When the server is disconnected or when we are shut down, make our clock return
an invalid time instead of erroring out.
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
| |
|