gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.h
author melunko
Fri Nov 24 21:43:04 2006 +0000 (2006-11-24)
branchtrunk
changeset 112 a99f881ed02f
parent 88 2a70ed80ed1a
permissions -rw-r--r--
[svn r113] A lot of changes at gmyth_socket.c and gmyth_filetransfer. From now on, file transfer dont handle the monitor socket, and the QUERY_RECORDER messages - dont call spawn livetv, dont call get_file_position, is_recording, etc. These are gmyth_livetv responsibility. File transfer now has the _new, _open, _seek, and _close methods, just like gnomevfs does.
melunko@47
     1
/* GStreamer
melunko@47
     2
 * Copyright (C) <2006> Renato Araujo Oliveira Filho <renato.filho@indt.org.br>
melunko@47
     3
 *                      Rosfran Borges <rosfran.borges@indt.org.br>
melunko@47
     4
 *
melunko@47
     5
 * This library is free software; you can redistribute it and/or
melunko@47
     6
 * modify it under the terms of the GNU Library General Public
melunko@47
     7
 * License as published by the Free Software Foundation; either
melunko@47
     8
 * version 2 of the License, or (at your option) any later version.
melunko@47
     9
 *
melunko@47
    10
 * This library is distributed in the hope that it will be useful,
melunko@47
    11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
melunko@47
    12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
melunko@47
    13
 * Library General Public License for more details.
melunko@47
    14
 *
melunko@47
    15
 * You should have received a copy of the GNU Library General Public
melunko@47
    16
 * License along with this library; if not, write to the
melunko@47
    17
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
melunko@47
    18
 * Boston, MA 02111-1307, USA.
melunko@47
    19
 */
melunko@47
    20
melunko@47
    21
#ifndef __GST_NUV_DEMUX_H__
melunko@47
    22
#define __GST_NUV_DEMUX_H__
melunko@47
    23
melunko@47
    24
#include <gst/gst.h>
melunko@47
    25
melunko@47
    26
#include <gst/base/gstadapter.h>
melunko@47
    27
melunko@47
    28
G_BEGIN_DECLS
melunko@47
    29
melunko@47
    30
#define GST_TYPE_NUV_DEMUX \
melunko@47
    31
  (gst_nuv_demux_get_type ())
melunko@47
    32
#define GST_NUV_DEMUX(obj) \
melunko@47
    33
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_NUV_DEMUX, GstNuvDemux))
melunko@47
    34
#define GST_NUV_DEMUX_CLASS(klass) \
melunko@47
    35
  (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_NUV_DEMUX, GstNuvDemuxClass))
melunko@47
    36
#define GST_IS_NUV_DEMUX(obj) \
melunko@47
    37
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_NUV_DEMUX))
melunko@47
    38
#define GST_IS_NUV_DEMUX_CLASS(klass) \
melunko@47
    39
  (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_NUV_DEMUX))
melunko@47
    40
renatofilho@91
    41
typedef struct _GstNuvDemuxPrivate GstNuvDemuxPrivate;
melunko@47
    42
typedef struct _GstNuvDemux {
renatofilho@91
    43
  GstElement          parent;
renatofilho@91
    44
  GstNuvDemuxPrivate *priv;
melunko@47
    45
} GstNuvDemux;
melunko@47
    46
melunko@47
    47
typedef struct _GstNuvDemuxClass {
melunko@47
    48
  GstElementClass parent_class;
melunko@47
    49
} GstNuvDemuxClass;
melunko@47
    50
melunko@47
    51
GType           gst_nuv_demux_get_type          (void);
melunko@47
    52
melunko@47
    53
G_END_DECLS
melunko@47
    54
melunko@47
    55
#endif /* __GST_NUV_DEMUX_H__ */