## OGMDvdStream

OGMDvdStream — Structure describing a stream

## Synopsis

    #include <ogmdvd-stream.h>

    void                ogmdvd_stream_ref                   (OGMDvdStream *stream);
    void                ogmdvd_stream_unref                 (OGMDvdStream *stream);
    OGMDvdTitle *       ogmdvd_stream_get_title             (OGMDvdStream *stream);
    gint                ogmdvd_stream_get_id                (OGMDvdStream *stream);
    gint                ogmdvd_stream_get_nr                (OGMDvdStream *stream);

## Description

## Details

### ogmdvd_stream_ref ()

    void                ogmdvd_stream_ref                   (OGMDvdStream *stream);

Increments the reference count of an OGMDvdStream.

`stream` : | An OGMDvdStream

### ogmdvd_stream_unref ()

    void                ogmdvd_stream_unref                 (OGMDvdStream *stream);

Decrements the reference count of an OGMDvdStream.

`stream` : | An OGMDvdStream

### ogmdvd_stream_get_title ()

    OGMDvdTitle *       ogmdvd_stream_get_title             (OGMDvdStream *stream);

Returns the title the OGMDvdStream belongs to

`stream` : | An OGMDvdStream
Returns : | An OGMDvdTitle, or NULL

### ogmdvd_stream_get_id ()

    gint                ogmdvd_stream_get_id                (OGMDvdStream *stream);

Returns the stream identifier.

`stream` : | An OGMDvdStream
Returns : | The stream identifier, or -1

### ogmdvd_stream_get_nr ()

    gint                ogmdvd_stream_get_nr                (OGMDvdStream *stream);

Returns the stream number.

`stream` : | An OGMDvdStream
Returns : | The stream number, or -1