gst-plugins-mythtv/src/gstmythtvsrc.h
branchtrunk
changeset 117 b90cf50ca3dc
parent 98 d0f379fc4173
child 118 1374c8f47f33
     1.1 --- a/gst-plugins-mythtv/src/gstmythtvsrc.h	Wed Nov 22 00:16:33 2006 +0000
     1.2 +++ b/gst-plugins-mythtv/src/gstmythtvsrc.h	Mon Nov 27 21:20:57 2006 +0000
     1.3 @@ -18,7 +18,7 @@
     1.4  
     1.5  #include <gst/gst.h>
     1.6  #include <gst/base/gstbasesrc.h>
     1.7 -#include <gst/base/gstadapter.h>
     1.8 +#include <gst/base/gstpushsrc.h>
     1.9  #include <stdio.h>
    1.10  
    1.11  #include <gmyth/gmyth_socket.h>
    1.12 @@ -48,7 +48,7 @@
    1.13  } GstMythtvState;
    1.14  
    1.15  struct _GstMythtvSrc {
    1.16 -  GstBaseSrc element;
    1.17 +  GstPushSrc element;
    1.18  
    1.19    /* MythFileTransfer */
    1.20    GMythFileTransfer *file_transfer;
    1.21 @@ -73,7 +73,6 @@
    1.22    guint64 bytes_read;
    1.23  
    1.24    gint64 read_offset;
    1.25 -  gint64 adapter_offset;
    1.26  
    1.27    /* added by melunko (buffer cache) */
    1.28    gint buffer_remain;
    1.29 @@ -98,7 +97,6 @@
    1.30    GstCaps *mythtv_caps;
    1.31  
    1.32    GstPad *sinkpad;
    1.33 -  GstPad *srcpad;
    1.34  
    1.35    GstTask *th_read_ahead;
    1.36  
    1.37 @@ -113,7 +111,7 @@
    1.38  };
    1.39  
    1.40  struct _GstMythtvSrcClass {
    1.41 -  GstBaseSrcClass parent_class;
    1.42 +  GstPushSrcClass parent_class;
    1.43  };
    1.44  
    1.45  GType gst_mythtv_src_get_type (void);