GESFormatter

GESFormatter

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GESFormatter

Implemented Interfaces

GESFormatter implements GESExtractable.

Includes

#include <ges/ges.h>

Description

Functions

GESFormatterLoadFromURIMethod ()

gboolean
(*GESFormatterLoadFromURIMethod) (GESFormatter *formatter,
                                  GESTimeline *timeline,
                                  const gchar *uri,
                                  GError **error);

GESFormatterSaveToURIMethod ()

gboolean
(*GESFormatterSaveToURIMethod) (GESFormatter *formatter,
                                GESTimeline *timeline,
                                const gchar *uri,
                                gboolean overwrite,
                                GError **error);

GESFormatterCanLoadURIMethod ()

gboolean
(*GESFormatterCanLoadURIMethod) (GESFormatter *dummy_instance,
                                 const gchar *uri,
                                 GError **error);

ges_formatter_class_register_metas ()

void
ges_formatter_class_register_metas (GESFormatterClass *klass,
                                    const gchar *name,
                                    const gchar *description,
                                    const gchar *extension,
                                    const gchar *mimetype,
                                    gdouble version,
                                    GstRank rank);

ges_formatter_load_from_uri ()

gboolean
ges_formatter_load_from_uri (GESFormatter *formatter,
                             GESTimeline *timeline,
                             const gchar *uri,
                             GError **error);

ges_formatter_save_to_uri ()

gboolean
ges_formatter_save_to_uri (GESFormatter *formatter,
                           GESTimeline *timeline,
                           const gchar *uri,
                           gboolean overwrite,
                           GError **error);

ges_formatter_can_load_uri ()

gboolean
ges_formatter_can_load_uri (const gchar *uri,
                            GError **error);

ges_formatter_can_save_uri ()

gboolean
ges_formatter_can_save_uri (const gchar *uri,
                            GError **error);

ges_formatter_get_default ()

GESAsset *
ges_formatter_get_default (void);

Types and Values

GESFormatter

typedef struct _GESFormatter GESFormatter;

GESFormatterClass

typedef struct {
  GInitiallyUnownedClass parent_class;

  /* TODO 2.0: Rename the loading method to can_load and load.
   * Technically we just pass data to load, it should not necessarily
   * be a URI */
  GESFormatterCanLoadURIMethod can_load_uri;
  GESFormatterLoadFromURIMethod load_from_uri;
  GESFormatterSaveToURIMethod save_to_uri;
} GESFormatterClass;