## OGMRipChapters OGMRipChapters — A codec to extract chapters information |

## Synopsis

    #include <ogmrip-chapters.h>

    struct              OGMRipChapters;
    struct              OGMRipChaptersClass;
    OGMJobSpawn *       ogmrip_chapters_new                 (OGMDvdTitle *title,
                                                             const gchar *output);
    const gchar *       ogmrip_chapters_get_label           (OGMRipChapters *chapters,
                                                             guint n);
    void                ogmrip_chapters_set_label           (OGMRipChapters *chapters,
                                                             guint n,
                                                             const gchar *label);

## Object Hierarchy

      GObject
       +----OGMJobSpawn
             +----OGMJobContainer
                   +----OGMJobBin
                         +----OGMRipCodec
                               +----OGMRipChapters

## Description

## Details

### struct OGMRipChapters

    struct OGMRipChapters;

### struct OGMRipChaptersClass

    struct OGMRipChaptersClass {
      OGMRipCodecClass parent_class;
    };

### ogmrip_chapters_new ()

    OGMJobSpawn *       ogmrip_chapters_new                 (OGMDvdTitle *title,
                                                             const gchar *output);

Creates a new OGMRipChapters.

`title` : | An OGMDvdTitle
`output` : | The output file
Returns : | The new OGMRipChapters

### ogmrip_chapters_get_label ()

    const gchar *       ogmrip_chapters_get_label           (OGMRipChapters *chapters,
                                                             guint n);

Returns the label of this chapter.

`chapters` : | An OGMRipChapters
`n` : | A chapter number
Returns : | The label

### ogmrip_chapters_set_label ()

    void                ogmrip_chapters_set_label           (OGMRipChapters *chapters,
                                                             guint n,
                                                             const gchar *label);

Sets the label this chapter.

`chapters` : | An OGMRipChapters
`n` : | A chapter number
`label` : | A label