giostreamsrc

giostreamsrc — Read from any GIO stream

Properties

GInputStream * stream Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GstObject
            ╰── GstElement
                ╰── GstBaseSrc
                    ╰── GstGioBaseSrc
                        ╰── GstGioStreamSrc

Description

This plugin reads data from a custom GIO GInputStream.

It can, for example, be used to read data from memory with a GMemoryInputStream or to read from a file with a GFileInputStream.

Example code

The following example reads data from a GMemoryInputStream.

1

Synopsis

Element Information

plugin

gio

author

Sebastian Dröge <sebastian.droege@collabora.co.uk>

class

Source

Element Pads

name

src

direction

source

presence

always

details

ANY

Functions

Types and Values

struct GstGioStreamSrc

struct GstGioStreamSrc;

Opaque data structure.

Property Details

The “stream” property

  “stream”                   GInputStream *

Stream to read from.

Flags: Read / Write