Monado OpenXR Runtime
gst_pipeline.h
Go to the documentation of this file.
1// Copyright 2019-2021, Collabora, Ltd.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Functions for creating @ref gstreamer_pipeline objects.
6 * @author Jakob Bornecrantz <jakob@collabora.com>
7 * @ingroup aux_util
8 */
9
10#pragma once
11
12#include "xrt/xrt_frame.h"
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18
20
21void
22gstreamer_pipeline_create_from_string(struct xrt_frame_context *xfctx,
23 const char *pipeline_string,
24 struct gstreamer_pipeline **out_gp);
25
26void
27gstreamer_pipeline_create_autovideo_sink(struct xrt_frame_context *xfctx,
28 const char *appsrc_name,
29 struct gstreamer_pipeline **out_gp);
30
31void
32gstreamer_pipeline_play(struct gstreamer_pipeline *gp);
33
34void
36
37
38#ifdef __cplusplus
39}
40#endif
void gstreamer_pipeline_stop(struct gstreamer_pipeline *gp)
Definition: gst_pipeline.c:70
A pipeline from which you can create one or more gstreamer_sink from.
Definition: gst_internal.h:34
Object used to track all sinks and frame producers in a graph.
Definition: xrt_frame.h:108
Data frame header.