mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
(de)interleave: fix ported unit test and enable as ported
This commit is contained in:
parent
ac0d2254f0
commit
0c49dcd0c6
2 changed files with 8 additions and 4 deletions
|
@ -315,7 +315,7 @@ dnl *** plug-ins to include ***
|
||||||
|
|
||||||
dnl Non ported plugins (non-dependant, then dependant)
|
dnl Non ported plugins (non-dependant, then dependant)
|
||||||
dnl Make sure you have a space before and after all plugins
|
dnl Make sure you have a space before and after all plugins
|
||||||
GST_PLUGINS_NONPORTED="deinterlace interleave flx \
|
GST_PLUGINS_NONPORTED="deinterlace flx \
|
||||||
videobox \
|
videobox \
|
||||||
cairo cairo_gobject dv1394 gdk_pixbuf \
|
cairo cairo_gobject dv1394 gdk_pixbuf \
|
||||||
oss oss4 \
|
oss oss4 \
|
||||||
|
|
|
@ -453,9 +453,13 @@ src_handoff_float32_8ch (GstElement * src, GstBuffer * buf, GstPad * pad,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
buf = gst_buffer_new ();
|
if (gst_buffer_n_memory (buf)) {
|
||||||
gst_buffer_append_memory (buf, gst_memory_new_wrapped (0, data,
|
gst_buffer_replace_memory_range (buf, 0, -1,
|
||||||
size, 0, size, data, g_free));
|
gst_memory_new_wrapped (0, data, size, 0, size, data, g_free));
|
||||||
|
} else {
|
||||||
|
gst_buffer_insert_memory (buf, 0,
|
||||||
|
gst_memory_new_wrapped (0, data, size, 0, size, data, g_free));
|
||||||
|
}
|
||||||
GST_BUFFER_OFFSET (buf) = 0;
|
GST_BUFFER_OFFSET (buf) = 0;
|
||||||
GST_BUFFER_TIMESTAMP (buf) = 0;
|
GST_BUFFER_TIMESTAMP (buf) = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue