mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
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:
parent
edc3c30fe7
commit
7a05dcca91
3 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue