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
15
extern
"C"
{
16
#endif
17
18
19
struct
gstreamer_pipeline
;
20
21
void
22
gstreamer_pipeline_create_from_string(
struct
xrt_frame_context
*xfctx,
23
const
char
*pipeline_string,
24
struct
gstreamer_pipeline
**out_gp);
25
26
void
27
gstreamer_pipeline_create_autovideo_sink(
struct
xrt_frame_context
*xfctx,
28
const
char
*appsrc_name,
29
struct
gstreamer_pipeline
**out_gp);
30
31
void
32
gstreamer_pipeline_play(
struct
gstreamer_pipeline
*gp);
33
34
void
35
gstreamer_pipeline_stop
(
struct
gstreamer_pipeline
*gp);
36
37
38
#ifdef __cplusplus
39
}
40
#endif
gstreamer_pipeline_stop
void gstreamer_pipeline_stop(struct gstreamer_pipeline *gp)
Definition:
gst_pipeline.c:70
gstreamer_pipeline
A pipeline from which you can create one or more gstreamer_sink from.
Definition:
gst_internal.h:34
xrt_frame_context
Object used to track all sinks and frame producers in a graph.
Definition:
xrt_frame.h:108
xrt_frame.h
Data frame header.
auxiliary
gstreamer
gst_pipeline.h
Generated by
1.9.4