Blame gst/debugutils/gstpushfilesrc.h

Packit 1f69a5
/* GStreamer Push File Source
Packit 1f69a5
 * Copyright (C) <2007> Tim-Philipp Müller <tim centricular net>
Packit 1f69a5
 *
Packit 1f69a5
 * This library is free software; you can redistribute it and/or
Packit 1f69a5
 * modify it under the terms of the GNU Library General Public
Packit 1f69a5
 * License as published by the Free Software Foundation; either
Packit 1f69a5
 * version 2 of the License, or (at your option) any later version.
Packit 1f69a5
 *
Packit 1f69a5
 * This library is distributed in the hope that it will be useful,
Packit 1f69a5
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 1f69a5
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 1f69a5
 * Library General Public License for more details.
Packit 1f69a5
 *
Packit 1f69a5
 * You should have received a copy of the GNU Library General Public
Packit 1f69a5
 * License along with this library; if not, write to the
Packit 1f69a5
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Packit 1f69a5
 * Boston, MA 02110-1301, USA.
Packit 1f69a5
 */
Packit 1f69a5
Packit 1f69a5
#ifndef __GST_PUSH_FILE_SRC_H__
Packit 1f69a5
#define __GST_PUSH_FILE_SRC_H__
Packit 1f69a5
Packit 1f69a5
#include <gst/gstbin.h>
Packit 1f69a5
Packit 1f69a5
G_BEGIN_DECLS
Packit 1f69a5
#define GST_TYPE_PUSH_FILE_SRC \
Packit 1f69a5
  (gst_push_file_src_get_type())
Packit 1f69a5
#define GST_PUSH_FILE_SRC(obj) \
Packit 1f69a5
  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_PUSH_FILE_SRC,GstPushFileSrc))
Packit 1f69a5
#define GST_PUSH_FILE_SRC_CLASS(klass) \
Packit 1f69a5
  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_PUSH_FILE_SRC,GstPushFileSrcClass))
Packit 1f69a5
#define GST_IS_PUSH_FILE_SRC(obj) \
Packit 1f69a5
  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_PUSH_FILE_SRC))
Packit 1f69a5
#define GST_IS_PUSH_FILE_SRC_CLASS(klass) \
Packit 1f69a5
  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_PUSH_FILE_SRC))
Packit 1f69a5
typedef struct _GstPushFileSrc GstPushFileSrc;
Packit 1f69a5
typedef struct _GstPushFileSrcClass GstPushFileSrcClass;
Packit 1f69a5
Packit 1f69a5
struct _GstPushFileSrc
Packit 1f69a5
{
Packit 1f69a5
  GstBin parent;
Packit 1f69a5
Packit 1f69a5
  /*< private > */
Packit 1f69a5
  GstElement *filesrc;
Packit 1f69a5
  GstPad *srcpad;
Packit 1f69a5
Packit 1f69a5
  gboolean time_segment;
Packit 1f69a5
  gboolean seen_first_buffer;
Packit 1f69a5
  gint64 stream_time;
Packit 1f69a5
  gint64 start_time;
Packit 1f69a5
  guint64 initial_timestamp;
Packit 1f69a5
  gdouble rate;
Packit 1f69a5
  gdouble applied_rate;
Packit 1f69a5
};
Packit 1f69a5
Packit 1f69a5
struct _GstPushFileSrcClass
Packit 1f69a5
{
Packit 1f69a5
  GstBinClass parent_class;
Packit 1f69a5
};
Packit 1f69a5
Packit 1f69a5
GType gst_push_file_src_get_type (void);
Packit 1f69a5
Packit 1f69a5
G_END_DECLS
Packit 1f69a5
#endif /* __GST_PUSH_FILE_SRC_H__ */