- Feb 26, 2019
-
-
Tim-Philipp Müller authored
-
Tim-Philipp Müller authored
-
Tim-Philipp Müller authored
-
Tim-Philipp Müller authored
-
- Feb 25, 2019
-
-
Add the zero-clause BSD license, which is an alteration of the ISC license, to the list of valid licenses.
-
The current link points to the 2-clause BSD license, explicitly link to the 3-clause version of the license.
-
- Feb 20, 2019
-
-
Nirbheek Chauhan authored
Turns out it's exposed as `__restrict`, not as `restrict`. gstreamer/gstreamer!95 (comment 120782)
-
- Feb 19, 2019
-
-
Nirbheek Chauhan authored
MSVC also defines it as a keyword. Fixes build errors in projects that include MSVC's xkeycheck.h which ensures that keywords aren't overriden with a define.
-
- Feb 18, 2019
-
-
Seungha Yang authored
... and use InterlockedExchangeAdd64 for the 64bit value. InterlockedExchangeAdd is 32bit version.
-
- Feb 15, 2019
-
-
Sebastian Dröge authored
Between getting the GSource with the mutex and destroying it, something else might've destroyed it already and we would have a dangling pointer. Keep an additional reference just in case.
-
Sebastian Dröge authored
Signal watches are reference counted and gst_bus_remove_watch() would immediately remove it, breaking the reference counting. Only gst_bus_remove_signal_watch() should be used for removing signal watches.
-
- Feb 13, 2019
-
-
Fixes #353
-
- Feb 12, 2019
-
-
Tim-Philipp Müller authored
For metas where order might be significant if multiple metas are attached to the same buffer, so store a sequence number with the meta when adding it to the buffer. This allows users of the meta to make sure metas are processed in the right order. We need a 64-bit integer for the sequence number here in the API, a 32-bit one might overflow too easily with high packet/buffer rates. We could do it rtp-seqnum style of course, but that's a bit of a pain. We could also make it so that gst_buffer_add_meta() just keeps metas in order or rely on the order we add the metas in, but that seems too fragile overall, when buffers (incl. metas) get merged or split. Also add a compare function for easier sorting. We store the seqnum in the MetaItem struct here and not in the GstMeta struct since there's no padding in the GstMeta struct. We could add a private struct to GstMeta before the start of GstMeta, but that's what MetaItem effectively is implementation- wise. We can still change this later if we want, since it's all private. Fixes #262
-
- Feb 09, 2019
-
-
Sebastian Dröge authored
-
- Feb 08, 2019
-
-
Thibault Saunier authored
Thi introduces new APIs to post a `DEVICE_CHANGED` message on the bus so the application is notifies when a device is modified. For example, if the "defaultness" of a device was changed or any property that can be changed at any time. Atomically changing the device object notifying that way allow us to abtract away the internal threads. New APIS: - gst_message_new_device_changed - gst_message_parse_device_changed - gst_device_provider_device_changed
-
Nirbheek Chauhan authored
Different builds of Flex on different platforms output different strings in --version. For example: macOS: flex 2.5.35 Apple(flex-31) Windows: win_flex.exe 2.6.4 C:\Program Files (x86)\GnuWin32\bin\flex.EXE version 2.5.4 We need to look for a string that looks like a version, which means a regex till https://github.com/mesonbuild/meson/issues/1609 is fixed. Fixes gstreamer/gstreamer#356
-
- Feb 05, 2019
-
-
Nirbheek Chauhan authored
gstharness.c: Use G_GSIZE_FORMAT instead of hard-coding %zu error: unknown conversion type character 'z' in format [-Werror=format] gst-inspect.c: GPid is void* on non-UNIX, and we only use it on UNIX error: initialization makes pointer from integer without a cast [-Werror] gstmeta.c: Use and then discard value error: value computed is not used [-Werror=unused-value] With this, gstreamer builds with -Werror on MinGW
-
- Jan 29, 2019
-
-
-
They can't possibly return NULL except in case of assertions.
-
-
This would previously set the PTS on a random address causing various memory corruption
-
- Jan 28, 2019
-
-
This uses the DbgHelp library if available
-
- Jan 26, 2019
-
-
The hook->hook_id is a gulong for which there are no portability issues when tracing in printf format with %lu. So use %lu and remove the upcast to 64 bit. This makes the code more consistent with everything else tracing that hook_id and other gulong id.
-
- Jan 25, 2019
-
-
Nicolas Dufresne authored
Commit 56b4fbef refactored the pipe code to use GLib utility, but the patch was hading some other changed. LESS env was now hardcoded in the middle instead of from a define and was changed from FXR to -RX. The "-" is not even valid for LESS env, and with the lost of F, we would still use a pager when the content fits the terminal.
-
- Jan 24, 2019
-
-
This was added in 7fdb15d6 but it is wrong. (scope call) is for closures that only have to stay valid for the scope of the call, but the tag merge function has to stay valid for the whole lifetime of the application instead. There's no appropriate scope annotation for that so we have to skip these functions for now.
-
Seungha Yang authored
Should be equality check, not assignment. Additionally, use fail_unless_equals_* macro for better readability and debugging easier, if possible.
-
- Jan 23, 2019
-
-
Mathieu Duponchelle authored
the output of flex --version can contain more than one space
-
- Jan 22, 2019
-
-
It's updated to 2.40.0 since the commit 3e8ef4cf
-
- Jan 17, 2019
-
-
Seungha Yang authored
Setup it only if we have something to print out about inspected results. Otherwise, gst_tools_print_version() output will be redirected to pager and also exit immediately without waiting child process.
-
Seungha Yang authored
Although we support pager just for *nix until now, this can make more portable to Windows. Fixes #342
-
Tim-Philipp Müller authored
-
Tim-Philipp Müller authored
-
Tim-Philipp Müller authored
-
- Jan 16, 2019
-
-
Nirbheek Chauhan authored
Either disable it when it's not supported, or setup the console to interpret them correctly when it's supported. Closes #351
-
- Jan 15, 2019
-
-
It's a gulong so we have to cast it to a guint64 when using it with G_GUINT64_FORMAT. Spotted by Vincent Penvern.
-
- Jan 14, 2019
-
-
Daniel Drake authored
GstDeviceProvider has a started_count private variable counter, and the gst_device_provider_start() documentation emphasizes the importance of balancing the start and stop calls. However, when starting a provider that is already started, the current code will never increment the counter more than once. So you start it twice, but it will have start_count 1, which is the maximum value it will ever see. Then when you stop it twice, on the 2nd stop, after decrementing the counter in gst_device_provider_stop(): else if (provider->priv->started_count < 1) { g_critical ("Trying to stop a GstDeviceProvider %s which is already stopped", GST_OBJECT_NAME (provider)); and the program is killed. Fix this by incrementing the counter when starting a device provider that was already started.
-
- Jan 11, 2019
-
-
Jordan Petridіs authored
While extremelly rare, time and gst_date_time_new_* will have diff values and potentially trigger an assertion. Thus move the calls as closely together as possible to mitigate this.
-
- Jan 10, 2019
-
-
Sebastian Dröge authored
This reverts commit 7f70d7a9
-
- Jan 09, 2019
-
-
-
The step restriction was completely ignored until now.
-