mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
98e5c5e862
Allowing better control over the way discovery happens and allowing us to expose a proper API. This also adds the potential of implementing more multi-threaded discovery in a clean way in the future. This allows us to cleanly expose the new GstDiscoverer::load-serialize-info signal. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3911>
32 lines
1.1 KiB
C
32 lines
1.1 KiB
C
#pragma once
|
|
|
|
#include <ges/ges-types.h>
|
|
#include <gst/gst.h>
|
|
#include <gst/pbutils/pbutils.h>
|
|
#include <glib-object.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
/**
|
|
* GES_TYPE_DISCOVERER_MANAGER:
|
|
*
|
|
* Since: 1.24
|
|
*/
|
|
#define GES_TYPE_DISCOVERER_MANAGER ges_discoverer_manager_get_type ()
|
|
|
|
struct _GESDiscovererManagerClass
|
|
{
|
|
GObjectClass parent_class;
|
|
};
|
|
|
|
GES_DECLARE_TYPE(DiscovererManager, discoverer_manager, DISCOVERER_MANAGER);
|
|
|
|
GES_API GstClockTime ges_discoverer_manager_get_timeout (GESDiscovererManager * self);
|
|
GES_API void ges_discoverer_manager_set_timeout (GESDiscovererManager * self,
|
|
GstClockTime timeout);
|
|
GES_API GESDiscovererManager * ges_discoverer_manager_get_default (void);
|
|
GES_API void ges_discoverer_manager_set_use_cache (GESDiscovererManager *self,
|
|
gboolean use_cache);
|
|
GES_API gboolean ges_discoverer_manager_get_use_cache (GESDiscovererManager *self);
|
|
|
|
G_END_DECLS
|