Blame docs/gst/html/gstreamer-GstStreamCollection.html

Packit f546b1
Packit f546b1
<html>
Packit f546b1
<head>
Packit f546b1
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Packit f546b1
<title>GstStreamCollection: GStreamer 1.0 Core Reference Manual</title>
Packit f546b1
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
Packit f546b1
<link rel="home" href="index.html" title="GStreamer 1.0 Core Reference Manual">
Packit f546b1
<link rel="up" href="libgstreamer.html" title="GStreamer Core Library">
Packit f546b1
<link rel="prev" href="gstreamer-GstStream.html" title="GstStreams">
Packit f546b1
<link rel="next" href="GstStructure.html" title="GstStructure">
Packit f546b1
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
Packit f546b1
<link rel="stylesheet" href="style.css" type="text/css">
Packit f546b1
</head>
Packit f546b1
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
Packit f546b1
Packit f546b1
Packit f546b1
Top  | 
Packit f546b1
                  Description
Packit f546b1
Packit f546b1
Home
Packit f546b1
Up
Packit f546b1
Prev
Packit f546b1
Next
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1

GstStreamCollection

Packit f546b1

GstStreamCollection — Base class for collection of streams

Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1

Functions

Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
GstStreamCollection *
Packit f546b1
Packit f546b1
Packit f546b1
gst_stream_collection_new ()
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
gboolean
Packit f546b1
Packit f546b1
Packit f546b1
gst_stream_collection_add_stream ()
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
const gchar *
Packit f546b1
Packit f546b1
Packit f546b1
gst_stream_collection_get_upstream_id ()
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
guint
Packit f546b1
Packit f546b1
Packit f546b1
gst_stream_collection_get_size ()
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
GstStream *
Packit f546b1
Packit f546b1
Packit f546b1
gst_stream_collection_get_stream ()
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1

Types and Values

Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
struct
Packit f546b1
GstStreamCollection
Packit f546b1
Packit f546b1
Packit f546b1
struct
Packit f546b1
GstStreamCollectionClass
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1

Includes

Packit f546b1
#include <gst/gstprotection.h>
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1

Description

Packit f546b1
Packit f546b1
Packit f546b1

Functions

Packit f546b1
Packit f546b1

gst_stream_collection_new ()

Packit f546b1
GstStreamCollection *
Packit f546b1
gst_stream_collection_new (const gchar *upstream_id);
Packit f546b1

Create a new GstStreamCollection.

Packit f546b1
Packit f546b1

Parameters

Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1

upstream_id

Packit f546b1

The stream id of the parent stream.

Packit f546b1
[allow-none]
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1

Returns

Packit f546b1

The new GstStreamCollection.

Packit f546b1

[transfer full]

Packit f546b1
Packit f546b1

Since: 1.10

Packit f546b1
Packit f546b1

Packit f546b1
Packit f546b1

gst_stream_collection_add_stream ()

Packit f546b1
gboolean
Packit f546b1
gst_stream_collection_add_stream (GstStreamCollection *collection,
Packit f546b1
                                  GstStream *stream);
Packit f546b1

Add the given stream

Packit f546b1
 to the collection
Packit f546b1
.

Packit f546b1
Packit f546b1

Parameters

Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1

collection

Packit f546b1

a GstStreamCollection

Packit f546b1
 
Packit f546b1
Packit f546b1
Packit f546b1

stream

Packit f546b1

the GstStream to add.

Packit f546b1
[transfer full]
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1

Returns

Packit f546b1

TRUE if the stream

Packit f546b1
was properly added, else FALSE

Packit f546b1
Packit f546b1

Since: 1.10

Packit f546b1
Packit f546b1

Packit f546b1
Packit f546b1

gst_stream_collection_get_upstream_id ()

Packit f546b1
const gchar *
Packit f546b1
gst_stream_collection_get_upstream_id (GstStreamCollection *collection);
Packit f546b1

Returns the upstream id of the collection

Packit f546b1
.

Packit f546b1
Packit f546b1

Parameters

Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1

collection

Packit f546b1

a GstStreamCollection

Packit f546b1
 
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1

Returns

Packit f546b1

The upstream id.

Packit f546b1

[transfer none]

Packit f546b1
Packit f546b1

Since: 1.10

Packit f546b1
Packit f546b1

Packit f546b1
Packit f546b1

gst_stream_collection_get_size ()

Packit f546b1
guint
Packit f546b1
gst_stream_collection_get_size (GstStreamCollection *collection);
Packit f546b1

Get the number of streams this collection contains

Packit f546b1
Packit f546b1

Parameters

Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1

collection

Packit f546b1

a GstStreamCollection

Packit f546b1
 
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1

Returns

Packit f546b1

The number of streams that collection

Packit f546b1
contains

Packit f546b1
Packit f546b1

Since: 1.10

Packit f546b1
Packit f546b1

Packit f546b1
Packit f546b1

gst_stream_collection_get_stream ()

Packit f546b1
GstStream *
Packit f546b1
gst_stream_collection_get_stream (GstStreamCollection *collection,
Packit f546b1
                                  guint index);
Packit f546b1

Retrieve the GstStream with index index

Packit f546b1
 from the collection.

Packit f546b1

The caller should not modify the returned GstStream

Packit f546b1
Packit f546b1

Parameters

Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1

collection

Packit f546b1

a GstStreamCollection

Packit f546b1
 
Packit f546b1
Packit f546b1
Packit f546b1

index

Packit f546b1

Index of the stream to retrieve

Packit f546b1
 
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1

Returns

Packit f546b1

A GstStream.

Packit f546b1

[transfer none][nullable]

Packit f546b1
Packit f546b1

Since: 1.10

Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1

Types and Values

Packit f546b1
Packit f546b1

struct GstStreamCollection

Packit f546b1
struct GstStreamCollection {
Packit f546b1
};
Packit f546b1
Packit f546b1

A collection of GstStream that are available.

Packit f546b1

A GstStreamCollection will be provided by elements that can make those

Packit f546b1
streams available. Applications can use the collection to show the user
Packit f546b1
what streams are available by using gst_stream_collection_get_stream()

Packit f546b1

Once posted, a GstStreamCollection is immutable. Updates are made by sending

Packit f546b1
a new GstStreamCollection message, which may or may not share some of
Packit f546b1
the GstStream objects from the collection it replaces. The receiver can check
Packit f546b1
the sender of a stream collection message to know which collection is
Packit f546b1
obsoleted.

Packit f546b1

Several elements in a pipeline can provide GstStreamCollection.

Packit f546b1

Applications can activate streams from a collection by using the

Packit f546b1
GST_EVENT_SELECT_STREAMS event on a pipeline, bin or element.

Packit f546b1

Since: 1.10

Packit f546b1
Packit f546b1

Packit f546b1
Packit f546b1

struct GstStreamCollectionClass

Packit f546b1
struct GstStreamCollectionClass {
Packit f546b1
  GstObjectClass parent_class;
Packit f546b1
Packit f546b1
  /* signals */
Packit f546b1
  void  (*stream_notify)      (GstStreamCollection *collection, GstStream *stream, GParamSpec * pspec);
Packit f546b1
};
Packit f546b1
Packit f546b1

GstStreamCollection class structure

Packit f546b1
Packit f546b1

Members

Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1

stream_notify ()

Packit f546b1

default signal handler for the stream-notify signal

Packit f546b1
 
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1
Packit f546b1

Generated by GTK-Doc V1.27
Packit f546b1
</body>
Packit f546b1
</html>