| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Make sure we don't read beyond the atom boundary. Note that the code
behaves slightly differently in the corner case where there is not
enough atom data for the specified number of samples (n_samples_time)
in the atom, but still enough data to fill the pre-allocated index of
n_samples entries: before we would just stop parsing the stts data
and continue, whereas now we will likely error out. This should not
be a problem in practice though. We could maintain the old behaviour
by doing reads with a size check inside the loop if needed.
|
|
|
|
|
|
| |
Use GstByteReader to parse stsz and stsc chunks, and check size of
available data before parsing it, instead of blindly assuming there
will be enough data. Fixes crashes with some fuzzed/broken files.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
At the end, Dirac streams have an EOS packet with 0 length.
Don't ever sit in an infinite loop when processing one. Allows
muxing Dirac into mkv to complete successfully.
|
| |
|
|
|
|
|
| |
Remove CFLAGS from LIBADD and make order of the various CFLAGS and
LIBS at least consistent with each other.
|
|
|
|
| |
Fixes bug #595897.
|
| |
|
| |
|
|
|
|
|
| |
Measure the performance of various index and header parsing steps to the
PERFORMANCE debug category.
|
|
|
|
|
| |
In particular, this caters for RTP payloads with multiple frames
per packet.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
The adapter would be leaked if it was empty and the data could be pushed out directly.
|
|
|
|
|
|
| |
pa_stream_get_timing_info() can return NULL.
Fixes bug #595220.
|
|
|
|
|
|
| |
pa_stream_get_timing_info() can return NULL.
Fixes bug #595220.
|
|
|
|
|
| |
Handle stream events and request a PAUSE/PLAY state change from the application
when we receive a CORK/UNCORK event.
|
|
|
|
|
|
|
|
| |
Add a property to allow control over what event causes a file
to finish being written and a new file start. The default is
the same as before -- each buffer causes a new file to be
written. Added is a case where buffers are written to the
same file until a discontinuity in the stream.
|
|
|
|
|
|
| |
Don't store the same values in the GstDvDemux. This
fixes a bug where dvdemux would detect a stream as PAL
instead of NTSC, and silently parse it wrong.
|
|
|
|
| |
Code to convert time codes to/from timestamps and frame numbers.
|
|
|
|
|
|
| |
There are 5 or 6 AAUX source control packs in a frame, and any
of them could have REC_ST cleared, indicating a recording start
point. libdv only checks the first.
|
|
|
|
| |
Also add a few branch prediction macros
|
|
|
|
|
|
|
| |
The souphttpsrc test wasn't compiling. The soup-misc.h header is needed for
soup_ssl_supported.
Fix the y4menc test to use a 'progressive' header for the test data now that
the element outputs correct interlacing info.
|
|
|
|
|
| |
This fixes playback of some files that don't have a valid data chunk length,
apparently some program creates these.
|
|
|
|
|
| |
Use a function-pointer for mmap/read, as this can't change during capture. Also
sprinkle a few G_LIKELY/UNLIKELY to improve the error-less code path.
|
|
|
|
|
| |
v4l2src has a slow path where it does buffer-copies when it runs out of queued
buffers. Log this to performance category to help monitoring it.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Add a post-messages property and deprecate the less descriptive message
property.
|
|
|
|
|
| |
Add post-messages and deprecate send-messages as the former is more
descriptive of what actually happens.
|
|
|
|
|
| |
Use the post-messages property name instead of silent as it is more
descriptive.
|
|
|
|
|
|
|
|
|
| |
Add a silent property that can be set to FALSE to post messages on the bus for
each written file.
Do some more cleanups.
Add some docs.
Fixes #594663
|
|
|
|
|
|
| |
avoid leaks
Fixes bug #594691.
|
| |
|
| |
|
|
|
|
| |
Partial fix for #169383.
|
|
|
|
|
|
|
| |
For this fix the averaging of the chroma values. It should't be (a/2 + b)/2
but just (a + b)/2.
Fixes bug #594599.
|
|
|
|
|
|
|
| |
Remove the code to deal with a ringbuffer reset as this code is now in the base
class.
Bump the -base requirement as we need the new baseaudiosink code to function
properly.
|
| |
|
| |
|
|
|
|
|
| |
Add some debug info
Fix the state changes
|
|
|
|
|
|
| |
So that multifdsink always start sending header buffer first
Fixes #594520
|
|
|
|
|
|
|
| |
Add a parameter 'ignore-pt' that disables creating a gstrtpptdemux module and
ghosts the pads of gstrtpjitterbuffer instead of the ones of gstrtpptdemux.
Fixes #594490
|