summaryrefslogtreecommitdiff
path: root/gst-libs/gst/transcoder
Commit message (Collapse)AuthorAgeFilesLines
* transcoder: Fix usage of g_error_propagateThibault Saunier2021-06-211-2/+1
| | | | | | | | | | In the error callback we were propagating an error we were not owning which is incorrect use of the API. Also we were clearing a GError we already propagated which is wrong as propagating gives ownership away. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2325>
* transcoder: Add a missing object unlockingThibault Saunier2021-06-211-0/+2
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2325>
* transcoder: Add state-changed signalPhilippe Normand2021-03-104-1/+110
| | | | | | | | Similar to GstPlayer, a new signal for state tracking is now emitted at runtime, as a commodity for applications which then don't need to monitor the pipeline GstBus for state changes anymore. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2028>
* transcoder: Add some missing API guardsThibault Saunier2021-03-011-4/+17
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2044>
* transcoder: Fix potential use of uninitialized variablesThibault Saunier2021-03-011-2/+2
| | | | | | | gst_structure_get won't touch variables if the field is not present leading to potential use of initialized vars Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2044>
* transcoder: Rework the API to create/get SignalAdapterThibault Saunier2021-03-015-26/+107
| | | | | | | | | | | We can only have 1 single GstTranscoderSignalAdapter object for a given GstTranscoder object, this enforces that by avoiding to expose a constructor and instead add a method to GstTranscoder to get the signal adapter (internally creating it when needed). We can still cleanly ensure that the signal adapter is running for the requested GMainContext and return NULL if it is not the case. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2044>
* transcoder: Remove un-needed gst_init callPhilippe Normand2021-02-261-2/+0
| | | | | | We can safely assume GStreamer is already initialized from here. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1840>
* transcoder: Port to a GstBus API insteadThibault Saunier2021-02-266-486/+705
| | | | | | | | Following the move made by GstPlayer in: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/35 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1840>
* transcoder: Automatically generate enums GTypesThibault Saunier2021-02-264-27/+21
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1840>
* transcoder: Port to G_DECLAREThibault Saunier2021-02-261-10/+6
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1840>
* player/transcoder: Use bus signal watchThibault Saunier2020-12-141-7/+2
| | | | | | | | | | | Instead of implementing exactly the same thing ourself but making `GstBus` not know that it is the case. Since we are *sure* that the bus can't have been access at the point where we add the watch we are guaranteed that the current thread maincontext is going to be used. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1870>
* transcoder: Handle the case where several errors are postedThibault Saunier2020-11-301-2/+12
| | | | | There were cases where the loop was already destroyed when we were receiving the following message.
* transcoder: Minor refactoring to output better debug logsThibault Saunier2020-11-301-15/+19
|
* uritranscodebin: Move to using a urisourcebin for our source.Thibault Saunier2020-10-291-1/+1
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1151>
* transcoder: Base sync transcoding variant on a GMainLoopThibault Saunier2020-10-291-26/+13
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1151>
* Meson: Use pkg-config generatorXavier Claessens2020-10-231-1/+12
|
* remove various useless linefeed in logsStéphane Cerveau2019-12-111-3/+2
|
* meson: use gir_init_section in GstTranscoderAlistair Buxton2019-10-191-1/+1
| | | | | | | | | | | | | | | | GstTranscoder adds extra_args for gir which call gst_init() during introspection. These extra arguments are the same as the standard ones defined in the top level meson.build as "git_init_section", However, the top level definition also ensures an empty plugin repository is used. Because GstTranscoder does not use the standard args, plugins get loaded when it is introspected. Since some of the plugins fail without specific hardware, this causes #1100. This patch makes it use gir_init_section. Fixes #1100.
* Import GstTranscoderSaunier Thibault2019-08-284-0/+1819