mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
ges: Implement a Pitivi Formatter
API: ges_pitivi_formatter_new
This commit is contained in:
parent
0c92ca9b57
commit
c7a984824f
5 changed files with 1084 additions and 3 deletions
|
@ -46,6 +46,7 @@ libges_@GST_MAJORMINOR@_la_SOURCES = \
|
|||
ges-screenshot.c \
|
||||
ges-formatter.c \
|
||||
ges-keyfile-formatter.c \
|
||||
ges-pitivi-formatter.c \
|
||||
ges-utils.c
|
||||
|
||||
libges_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/ges/
|
||||
|
@ -89,6 +90,7 @@ libges_@GST_MAJORMINOR@include_HEADERS = \
|
|||
ges-screenshot.h \
|
||||
ges-formatter.h \
|
||||
ges-keyfile-formatter.h \
|
||||
ges-pitivi-formatter.h \
|
||||
ges-utils.h
|
||||
|
||||
noinst_HEADERS = \
|
||||
|
|
1018
ges/ges-pitivi-formatter.c
Normal file
1018
ges/ges-pitivi-formatter.c
Normal file
File diff suppressed because it is too large
Load diff
61
ges/ges-pitivi-formatter.h
Normal file
61
ges/ges-pitivi-formatter.h
Normal file
|
@ -0,0 +1,61 @@
|
|||
#ifndef _GES_PITIVI_FORMATTER
|
||||
#define _GES_PITIVI_FORMATTER
|
||||
#include <libxml/xmlreader.h>
|
||||
#include <libxml/tree.h>
|
||||
#include <libxml/parser.h>
|
||||
#include <libxml/xpath.h>
|
||||
#include <libxml/xpathInternals.h>
|
||||
#include "libxml/encoding.h"
|
||||
#include "libxml/xmlwriter.h"
|
||||
|
||||
|
||||
#define GES_TYPE_PITIVI_FORMATTER ges_pitivi_formatter_get_type()
|
||||
|
||||
#define GES_PITIVI_FORMATTER(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GES_TYPE_PITIVI_FORMATTER, GESPitiviFormatter))
|
||||
|
||||
#define GES_PITIVI_FORMATTER_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST ((klass), GES_TYPE_PITIVI_FORMATTER, GESPitiviFormatterClass))
|
||||
|
||||
#define GES_IS_PITIVI_FORMATTER(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), GES_TYPE_PITIVI_FORMATTER))
|
||||
|
||||
#define GES_IS_PITIVI_FORMATTER_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE ((klass), GES_TYPE_PITIVI_FORMATTER))
|
||||
|
||||
#define GES_PITIVI_FORMATTER_GET_CLASS(obj) \
|
||||
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_PITIVI_FORMATTER, GESPitiviFormatterClass))
|
||||
|
||||
typedef struct _GESPitiviFormatterPrivate GESPitiviFormatterPrivate;
|
||||
|
||||
/**
|
||||
* GESPitiviFormatter:
|
||||
*
|
||||
* Serializes a #GESTimeline to a file using
|
||||
*/
|
||||
|
||||
struct _GESPitiviFormatter {
|
||||
GESFormatter parent;
|
||||
|
||||
/*< private >*/
|
||||
GESPitiviFormatterPrivate *priv;
|
||||
|
||||
/* Padding for API extension */
|
||||
gpointer _ges_reserved[GES_PADDING];
|
||||
};
|
||||
|
||||
struct _GESPitiviFormatterClass {
|
||||
/*< private >*/
|
||||
GESFormatterClass parent_class;
|
||||
|
||||
/* Padding for API extension */
|
||||
gpointer _ges_reserved[GES_PADDING];
|
||||
};
|
||||
|
||||
GType ges_pitivi_formatter_get_type (void);
|
||||
|
||||
GESPitiviFormatter *ges_pitivi_formatter_new (void);
|
||||
|
||||
|
||||
|
||||
#endif /* _GES_PITIVI_FORMATTER */
|
|
@ -134,5 +134,7 @@ typedef struct _GESFormatterClass GESFormatterClass;
|
|||
typedef struct _GESKeyfileFormatter GESKeyfileFormatter;
|
||||
typedef struct _GESKeyfileFormatterClass GESKeyfileFormatterClass;
|
||||
|
||||
typedef struct _GESPitiviFormatter GESPitiviFormatter;
|
||||
typedef struct _GESPitiviFormatterClass GESPitiviFormatterClass;
|
||||
|
||||
#endif /* __GES_TYPES_H__ */
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
|
||||
#ifndef __GES_H__
|
||||
#define __GES_H__
|
||||
|
||||
#include <glib.h>
|
||||
#include <gst/gst.h>
|
||||
|
||||
|
@ -63,10 +62,9 @@
|
|||
#include <ges/ges-track-audio-transition.h>
|
||||
#include <ges/ges-track-effect.h>
|
||||
#include <ges/ges-track-parse-launch-effect.h>
|
||||
|
||||
#include <ges/ges-formatter.h>
|
||||
#include <ges/ges-keyfile-formatter.h>
|
||||
|
||||
#include <ges/ges-pitivi-formatter.h>
|
||||
#include <ges/ges-utils.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
|
Loading…
Reference in a new issue