projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
index: remove GstIndex and GstIndexFactory for now
[platform/upstream/gstreamer.git]
/
libs
/
gst
/
base
/
gstmemindex.c
diff --git
a/plugins/indexers/gstmemindex.c
b/libs/gst/base/gstmemindex.c
similarity index 98%
rename from
plugins/indexers/gstmemindex.c
rename to
libs/gst/base/gstmemindex.c
index
fd276fa
..
8673ef6
100644
(file)
--- a/
plugins/indexers/gstmemindex.c
+++ b/
libs/gst/base/gstmemindex.c
@@
-19,8
+19,6
@@
#include <gst/gst.h>
#include <gst/gst.h>
-#include "gstindexers.h"
-
#define GST_TYPE_MEM_INDEX \
(gst_index_get_type ())
#define GST_MEM_INDEX(obj) \
#define GST_TYPE_MEM_INDEX \
(gst_index_get_type ())
#define GST_MEM_INDEX(obj) \
@@
-95,18
+93,6
@@
struct _GstMemIndexClass
GstIndexClass parent_class;
};
GstIndexClass parent_class;
};
-/* Index signals and args */
-enum
-{
- LAST_SIGNAL
-};
-
-enum
-{
- ARG_0,
- /* FILL ME */
-};
-
static void gst_mem_index_finalize (GObject * object);
static void gst_mem_index_add_entry (GstIndex * index, GstIndexEntry * entry);
static void gst_mem_index_finalize (GObject * object);
static void gst_mem_index_add_entry (GstIndex * index, GstIndexEntry * entry);
@@
-116,8
+102,6
@@
static GstIndexEntry *gst_mem_index_get_assoc_entry (GstIndex * index, gint id,
#define CLASS(mem_index) GST_MEM_INDEX_CLASS (G_OBJECT_GET_CLASS (mem_index))
#define CLASS(mem_index) GST_MEM_INDEX_CLASS (G_OBJECT_GET_CLASS (mem_index))
-/*static guint gst_mem_index_signals[LAST_SIGNAL] = { 0 }; */
-
GType gst_mem_index_get_type (void);
G_DEFINE_TYPE (GstMemIndex, gst_mem_index, GST_TYPE_INDEX);
GType gst_mem_index_get_type (void);
G_DEFINE_TYPE (GstMemIndex, gst_mem_index, GST_TYPE_INDEX);
@@
-421,6
+405,7
@@
gst_mem_index_get_assoc_entry (GstIndex * index, gint id,
return entry;
}
return entry;
}
+#if 0
gboolean
gst_mem_index_plugin_init (GstPlugin * plugin)
{
gboolean
gst_mem_index_plugin_init (GstPlugin * plugin)
{
@@
-442,3
+427,4
@@
gst_mem_index_plugin_init (GstPlugin * plugin)
return TRUE;
}
return TRUE;
}
+#endif