|
Packit Service |
963350 |
/* GStreamer
|
|
Packit Service |
963350 |
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
|
|
Packit Service |
963350 |
* 2000 Wim Taymans <wtay@chello.be>
|
|
Packit Service |
963350 |
*
|
|
Packit Service |
963350 |
* gstidentity.h:
|
|
Packit Service |
963350 |
*
|
|
Packit Service |
963350 |
* This library is free software; you can redistribute it and/or
|
|
Packit Service |
963350 |
* modify it under the terms of the GNU Library General Public
|
|
Packit Service |
963350 |
* License as published by the Free Software Foundation; either
|
|
Packit Service |
963350 |
* version 2 of the License, or (at your option) any later version.
|
|
Packit Service |
963350 |
*
|
|
Packit Service |
963350 |
* This library is distributed in the hope that it will be useful,
|
|
Packit Service |
963350 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
963350 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
963350 |
* Library General Public License for more details.
|
|
Packit Service |
963350 |
*
|
|
Packit Service |
963350 |
* You should have received a copy of the GNU Library General Public
|
|
Packit Service |
963350 |
* License along with this library; if not, write to the
|
|
Packit Service |
963350 |
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
Packit Service |
963350 |
* Boston, MA 02110-1301, USA.
|
|
Packit Service |
963350 |
*/
|
|
Packit Service |
963350 |
|
|
Packit Service |
963350 |
|
|
Packit Service |
963350 |
#ifndef __GST_IDENTITY_H__
|
|
Packit Service |
963350 |
#define __GST_IDENTITY_H__
|
|
Packit Service |
963350 |
|
|
Packit Service |
963350 |
|
|
Packit Service |
963350 |
#include <gst/gst.h>
|
|
Packit Service |
963350 |
#include <gst/base/gstbasetransform.h>
|
|
Packit Service |
963350 |
|
|
Packit Service |
963350 |
G_BEGIN_DECLS
|
|
Packit Service |
963350 |
|
|
Packit Service |
963350 |
|
|
Packit Service |
963350 |
#define GST_TYPE_IDENTITY \
|
|
Packit Service |
963350 |
(gst_identity_get_type())
|
|
Packit Service |
963350 |
#define GST_IDENTITY(obj) \
|
|
Packit Service |
963350 |
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_IDENTITY,GstIdentity))
|
|
Packit Service |
963350 |
#define GST_IDENTITY_CLASS(klass) \
|
|
Packit Service |
963350 |
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_IDENTITY,GstIdentityClass))
|
|
Packit Service |
963350 |
#define GST_IS_IDENTITY(obj) \
|
|
Packit Service |
963350 |
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_IDENTITY))
|
|
Packit Service |
963350 |
#define GST_IS_IDENTITY_CLASS(klass) \
|
|
Packit Service |
963350 |
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_IDENTITY))
|
|
Packit Service |
963350 |
|
|
Packit Service |
963350 |
typedef struct _GstIdentity GstIdentity;
|
|
Packit Service |
963350 |
typedef struct _GstIdentityClass GstIdentityClass;
|
|
Packit Service |
963350 |
|
|
Packit Service |
963350 |
/**
|
|
Packit Service |
963350 |
* GstIdentity:
|
|
Packit Service |
963350 |
*
|
|
Packit Service |
963350 |
* Opaque #GstIdentity data structure
|
|
Packit Service |
963350 |
*/
|
|
Packit Service |
963350 |
struct _GstIdentity {
|
|
Packit Service |
963350 |
GstBaseTransform element;
|
|
Packit Service |
963350 |
|
|
Packit Service |
963350 |
/*< private >*/
|
|
Packit Service |
963350 |
GstClockID clock_id;
|
|
Packit Service |
963350 |
gboolean flushing;
|
|
Packit Service |
963350 |
gint error_after;
|
|
Packit Service |
963350 |
gfloat drop_probability;
|
|
Packit Service |
963350 |
gint datarate;
|
|
Packit Service |
963350 |
guint sleep_time;
|
|
Packit Service |
963350 |
gboolean silent;
|
|
Packit Service |
963350 |
gboolean dump;
|
|
Packit Service |
963350 |
gboolean sync;
|
|
Packit Service |
963350 |
gboolean check_imperfect_timestamp;
|
|
Packit Service |
963350 |
gboolean check_imperfect_offset;
|
|
Packit Service |
963350 |
gboolean single_segment;
|
|
Packit Service |
963350 |
GstBufferFlags drop_buffer_flags;
|
|
Packit Service |
963350 |
GstClockTime prev_timestamp;
|
|
Packit Service |
963350 |
GstClockTime prev_duration;
|
|
Packit Service |
963350 |
guint64 prev_offset;
|
|
Packit Service |
963350 |
guint64 prev_offset_end;
|
|
Packit Service |
963350 |
gchar *last_message;
|
|
Packit Service |
963350 |
guint64 offset;
|
|
Packit Service |
963350 |
gboolean signal_handoffs;
|
|
Packit Service |
963350 |
GstClockTime upstream_latency;
|
|
Packit Service |
963350 |
GCond blocked_cond;
|
|
Packit Service |
963350 |
gboolean blocked;
|
|
Packit Service |
963350 |
GstClockTimeDiff ts_offset;
|
|
Packit Service |
963350 |
gboolean drop_allocation;
|
|
Packit Service |
963350 |
};
|
|
Packit Service |
963350 |
|
|
Packit Service |
963350 |
struct _GstIdentityClass {
|
|
Packit Service |
963350 |
GstBaseTransformClass parent_class;
|
|
Packit Service |
963350 |
|
|
Packit Service |
963350 |
/* signals */
|
|
Packit Service |
963350 |
void (*handoff) (GstElement *element, GstBuffer *buf);
|
|
Packit Service |
963350 |
};
|
|
Packit Service |
963350 |
|
|
Packit Service |
963350 |
G_GNUC_INTERNAL GType gst_identity_get_type (void);
|
|
Packit Service |
963350 |
|
|
Packit Service |
963350 |
G_END_DECLS
|
|
Packit Service |
963350 |
|
|
Packit Service |
963350 |
#endif /* __GST_IDENTITY_H__ */
|