Commit 7789e9eb authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

libs/gst/base/gstpushsrc.c: Push sources don't support pull mode by default.

Original commit message from CVS:
* libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
(gst_push_src_check_get_range):
Push sources don't support pull mode by default.
parent b5161fda
2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
* libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
(gst_push_src_check_get_range):
Push sources don't support pull mode by default.
2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
......
......@@ -65,6 +65,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_push_src_debug);
GST_BOILERPLATE_FULL (GstPushSrc, gst_push_src, GstBaseSrc, GST_TYPE_BASE_SRC,
_do_init);
static gboolean gst_push_src_check_get_range (GstBaseSrc * src);
static GstFlowReturn gst_push_src_create (GstBaseSrc * bsrc, guint64 offset,
guint length, GstBuffer ** ret);
......@@ -80,6 +81,8 @@ gst_push_src_class_init (GstPushSrcClass * klass)
GstBaseSrcClass *gstbasesrc_class = (GstBaseSrcClass *) klass;
gstbasesrc_class->create = GST_DEBUG_FUNCPTR (gst_push_src_create);
gstbasesrc_class->check_get_range =
GST_DEBUG_FUNCPTR (gst_push_src_check_get_range);
}
static void
......@@ -88,6 +91,12 @@ gst_push_src_init (GstPushSrc * pushsrc, GstPushSrcClass * klass)
/* nop */
}
static gboolean
gst_push_src_check_get_range (GstBaseSrc * src)
{
return FALSE;
}
static GstFlowReturn
gst_push_src_create (GstBaseSrc * bsrc, guint64 offset, guint length,
GstBuffer ** ret)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment