Commit 6b01538b authored by Wim Taymans's avatar Wim Taymans

gst/smpte/: Port to 0.10 some more.

Original commit message from CVS:
* gst/smpte/gstmask.h:
* gst/smpte/gstsmpte.c: (gst_smpte_class_init),
(gst_smpte_setcaps), (gst_smpte_init), (gst_smpte_reset),
(gst_smpte_collected), (gst_smpte_set_property),
(gst_smpte_get_property), (gst_smpte_change_state), (plugin_init):
* gst/smpte/gstsmpte.h:
Port to 0.10 some more.
Added duration property to specify the duration of the transition.
Make framerate a fraction.
Deprecate fps property, we only use negotiated fps.
Added docs.
Fix collectpad usage.
Reset state in READY.
Send NEWSEGMENT event.
Fix racy updates of object properties.
Added debug category.
Fixes #383323.
parent c37faa76
2006-12-07 Wim Taymans <wim@fluendo.com>
* gst/smpte/gstmask.h:
* gst/smpte/gstsmpte.c: (gst_smpte_class_init),
(gst_smpte_setcaps), (gst_smpte_init), (gst_smpte_reset),
(gst_smpte_collected), (gst_smpte_set_property),
(gst_smpte_get_property), (gst_smpte_change_state), (plugin_init):
* gst/smpte/gstsmpte.h:
Port to 0.10 some more.
Added duration property to specify the duration of the transition.
Make framerate a fraction.
Deprecate fps property, we only use negotiated fps.
Added docs.
Fix collectpad usage.
Reset state in READY.
Send NEWSEGMENT event.
Fix racy updates of object properties.
Added debug category.
Fixes #383323.
2006-12-06 Wim Taymans <wim@fluendo.com>
Patch by: Sjoerd Simons <sjoerd at luon dot net>
......
......@@ -23,7 +23,6 @@
#include <gst/gst.h>
typedef struct _GstMask GstMask;
typedef struct _GstMaskDefinition GstMaskDefinition;
......
This diff is collapsed.
......@@ -24,6 +24,8 @@
#include <gst/gst.h>
#include <gst/base/gstcollectpads.h>
G_BEGIN_DECLS
#include "gstmask.h"
#define GST_TYPE_SMPTE \
......@@ -43,23 +45,29 @@ typedef struct _GstSMPTEClass GstSMPTEClass;
struct _GstSMPTE {
GstElement element;
gint format;
gint width;
gint height;
gdouble fps;
gint duration;
gint position;
/* pads */
GstPad *srcpad,
*sinkpad1,
*sinkpad2;
GstCollectPads *collect;
/* properties */
gint type;
gint border;
gint depth;
guint64 duration;
/* negotiated format */
gint format;
gint width;
gint height;
gdouble fps;
gint fps_num;
gint fps_denom;
/* state of the effect */
gint position;
gint end_position;
GstMask *mask;
};
......@@ -67,4 +75,5 @@ struct _GstSMPTEClass {
GstElementClass parent_class;
};
G_END_DECLS
#endif /* __GST_SMPTE_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment