OGMRipChapters

OGMRipChapters — A codec to extract chapters information

Synopsis


#include <ogmrip-chapters.h>


                    OGMRipChapters;
OGMJobSpawn*        ogmrip_chapters_new                 (OGMDvdTitle *title,
                                                         const gchar *output);
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

OGMRipChapters

typedef struct _OGMRipChapters OGMRipChapters;


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 ()

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