| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
For example "{ 1 }" and "1" are not strictly equal but
both are a subset of each other. Also add a unit test
for this.
|
|
|
|
|
|
|
|
|
|
|
|
| |
..and as a result gst_caps_is_equal() and others.
This now only checks if for every subset structure there is
a superset structure in the superset caps. Previously we were
subtracting one from another, creating completely new caps
and then even simplified them.
The new implemention now is about 1.27 times faster and doesn't
break the -base unit tests are anything anymore.
|
|
|
|
|
|
|
| |
Caps A are a subset of caps B even if caps B doesn't
have all fields of caps A.
Also add a unit test for this.
|
|
|
|
|
|
|
|
|
|
|
|
| |
API: gst_mini_object_weak_ref()
API: gst_mini_object_weak_unref()
Add weak referencing functionality to GstMiniObject, which
allows to get notifications when an mini object is destroyed
but doesn't increase the real refcount. This is mostly
useful for bindings.
Fixes bug #609473.
|
|
|
|
|
|
|
|
|
| |
This allows to get the internal pad of ghostpads and
proxypads without using gst_pad_iterate_internal_links()
and is much more convenient.
The internal pad of a ghostpad is the pad of the opposite direction
that is used to link to the ghostpad target.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This prevents adding duplicates over and over again to the resulting
caps if they already describe the new intersection result.
While this changes intersection from O(n*m) to O(n^2*m), it results in
smaller caps, which in the end will decrease further processing times.
For example in an audioconvert ! audioconvert ! audioconvert pipeline,
when forwarding the downstream caps preference in basetransform
(see e26da72de25a91c3eaad9f7c8b2f53ba888a0394) this results in
16 instead of 191 caps structures.
|
|
|
|
|
| |
gst/gstminiobject.c: In function ‘test_dup_null_mini_object’:
gst/gstminiobject.c:459:7: warning: assignment from incompatible pointer type
|
|
|
|
|
|
|
| |
g_value_dup_object handles gvalues that contain NULL pointers,
gst_value_dup_mini_object should do the same.
https://bugzilla.gnome.org/show_bug.cgi?id=649195
|
|
|
|
|
| |
Don't forget to set the pipeline back to NULL state, which makes
valgrind happy again.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=648297
|
| |
|
| |
|
|
|
|
|
|
| |
It fails on the OSX bot (both with git and the last release), and
it doesn't really test anything useful, so may just as well disable
it for now.
|
|
|
|
|
|
|
| |
Hopefully makes this test work on the OSX build bot and other
not-so-powerful machines.
https://bugzilla.gnome.org/show_bug.cgi?id=646624
|
| |
|
|
|
|
|
| |
Not doing expensive checks when linking elements makes things
much faster.
|
|
|
|
| |
To limit the number of calls in a row per thread.
|
| |
|
|
|
|
|
|
|
|
| |
Currently fails (in normal circumstances) because we create a
socket pair for each bin's bus and exhaust the number of available
file descriptors.
https://bugzilla.gnome.org/show_bug.cgi?id=646624
|
| |
|
|
|
|
|
|
|
| |
Adds test cases for the caps 'first' intersect mode
Adds another test for the 'zigzag' mode
Fixes #617045
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding a buffer to the end of a GstBufferList is supposed to be a fast
operation, but it was not since the iterator does not advance its
nextpointer when adding buffers and GList does not have a tail pointer.
Using a GQueue to store the buffers makes it easier to add buffers to
the end of the list and this operation will now be much more efficient.
Adding an entire GList of buffers using
gst_buffer_list_iterator_add_list() will however have to iterate over
the list being added to be able to update the tail pointer in the
GQueue.
|
| |
|
|
|
|
| |
Add a test for the crash in bug #642271.
|
| |
|
|
|
|
| |
Move one test from gstelement suite.
|
| |
|
| |
|
|
|
|
|
|
|
| |
.. since we sadly have a plugin in -good that has a uchar property
(cmmlenc)
https://bugzilla.gnome.org/show_bug.cgi?id=642522
|
| |
|
| |
|
|
|
|
|
|
|
| |
Add a parameter to the QoS event to specify the QoS event type.
Update docs and add unit test.
See #638891
|
|
|
|
|
|
|
|
|
| |
g_main_thread_push_thread_default()
Makes gst_bus_add_watch(), gst_bus_add_watch_full(), gst_bus_add_signal_watch(),
and gst_bus_add_signal_watch_full() convenience functions automatically pick up
any non-default main contexts set for the current thread via
g_main_thread_push_thread_default().
|
|
|
|
| |
Signed-off-by: Zhang Wanming <Wanming.Zhang@tieto.com>
|
|
|
|
|
|
|
|
| |
Fix returning of timezones on systems with gdatetime
to use floats on the math expression to avoid
truncating the fractional part.
Also adds a test for covering this case.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds 2 variants for the gst_date_time_from_unix_epoch function,
one for UTC and another for local time.
API: gst_date_time_new_from_unix_epoch_utc
API: gst_date_time_new_from_unix_epoch_local_time
Fixes #653031
https://bugzilla.gnome.org/show_bug.cgi?id=635031
|
|
|
|
|
|
|
|
| |
Use seconds as double to make API similar to glib's
gdatetime. Also move timezone parameter to the
first position, just like glib's.
https://bugzilla.gnome.org/show_bug.cgi?id=628408
|
|
|
|
| |
Correctly serialize tzoffset as a gstvalue
|
|
|
|
| |
This aims to catch cpp issues in core. Add c++ boilerplate to configure.
|
|
|
|
| |
Add a function to add a list of buffers to the bufferlist.
|
|
|
|
|
| |
Could have come up with something better for my 2000th commit
to GStreamer...
|
|
|
|
|
|
|
|
|
| |
Added a new query type to retrieve informations about the areas of the
media currently buffered. See bug 623121.
API: gst_query_add_buffering_range
API: gst_query_get_n_buffering_ranges
API: gst_query_parse_nth_buffering_range
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
new GstInt64Range to store gint64 ranges.
API: GST_TYPE_INT64_RANGE
API: gst_value_set_int64_range
API: gst_value_get_int64_range_min
API: gst_value_get_int64_range_max
Fixes bug #627826.
|
|
|
|
|
| |
GST_FLOW_IS_FATAL() and GST_FLOW_IS_SUCCESS() are deprecated,
so aren't available for the testsuite any more.
|
| |
|
|
|
|
| |
after usage
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=624203
|
|
|
|
|
|
| |
Adds tests for datetime fields in gstvalue tests
Fixes #594504
|