diff --git a/libs/gst/base/gstsparsefile.c b/libs/gst/base/gstsparsefile.c index f0fe948531..9192677775 100644 --- a/libs/gst/base/gstsparsefile.c +++ b/libs/gst/base/gstsparsefile.c @@ -1,8 +1,6 @@ /* GStreamer * Copyright (C) 2014 Wim Taymans * - * gstcahcefile.c: - * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either diff --git a/libs/gst/base/gstsparsefile.h b/libs/gst/base/gstsparsefile.h index d1b9bc184d..68dd8a7841 100644 --- a/libs/gst/base/gstsparsefile.h +++ b/libs/gst/base/gstsparsefile.h @@ -1,8 +1,6 @@ /* GStreamer * Copyright (C) 2014 Wim Taymans * - * gstcahcefile.h: - * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either @@ -24,6 +22,8 @@ #ifndef __GST_SPARSE_FILE_H__ #define __GST_SPARSE_FILE_H__ +G_BEGIN_DECLS + typedef struct _GstSparseFile GstSparseFile; GstSparseFile * gst_sparse_file_new (void); @@ -47,11 +47,13 @@ gsize gst_sparse_file_read (GstSparseFile *file, GError **error); guint gst_sparse_file_n_ranges (GstSparseFile *file); + gboolean gst_sparse_file_get_range_before (GstSparseFile *file, gsize offset, gsize *start, gsize *stop); + gboolean gst_sparse_file_get_range_after (GstSparseFile *file, gsize offset, gsize *start, gsize *stop); - +G_END_DECLS #endif /* __GST_SPARSE_FILE_H__ */ diff --git a/tests/check/libs/.gitignore b/tests/check/libs/.gitignore index 2bebac3163..988f2aff6b 100644 --- a/tests/check/libs/.gitignore +++ b/tests/check/libs/.gitignore @@ -17,6 +17,7 @@ gstnetclientclock gstnettimeprovider gsttestclock libsabi +sparsefile transform1 typefindhelper queuearray