need to cast the buffer funcs, for some reason

Original commit message from CVS:
need to cast the buffer funcs, for some reason
This commit is contained in:
Steve Baker 2002-12-20 23:14:41 +00:00
parent edc3c30fe7
commit 7a05dcca91
3 changed files with 5 additions and 5 deletions

View file

@ -184,7 +184,7 @@ gst_v4lmjpegsink_init (GstV4lMjpegSink *v4lmjpegsink)
v4lmjpegsink->bufferpool = gst_buffer_pool_new(
NULL,
NULL,
gst_v4lmjpegsink_buffer_new,
(GstBufferPoolBufferNewFunction)gst_v4lmjpegsink_buffer_new,
NULL,
NULL,
v4lmjpegsink);

View file

@ -191,9 +191,9 @@ gst_v4lmjpegsrc_init (GstV4lMjpegSrc *v4lmjpegsrc)
v4lmjpegsrc->bufferpool = gst_buffer_pool_new(
NULL,
NULL,
gst_v4lmjpegsrc_buffer_new,
(GstBufferPoolBufferNewFunction)gst_v4lmjpegsrc_buffer_new,
NULL,
gst_v4lmjpegsrc_buffer_free,
(GstBufferPoolBufferFreeFunction)gst_v4lmjpegsrc_buffer_free,
v4lmjpegsrc);
v4lmjpegsrc->frame_width = 0;

View file

@ -168,9 +168,9 @@ gst_v4lsrc_init (GstV4lSrc *v4lsrc)
v4lsrc->bufferpool = gst_buffer_pool_new(
NULL,
NULL,
gst_v4lsrc_buffer_new,
(GstBufferPoolBufferNewFunction)gst_v4lsrc_buffer_new,
NULL,
gst_v4lsrc_buffer_free,
(GstBufferPoolBufferFreeFunction)gst_v4lsrc_buffer_free,
v4lsrc);
v4lsrc->palette = 0; /* means 'any' - user can specify a specific palette */