Commit 0c49dcd0 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

(de)interleave: fix ported unit test and enable as ported

parent ac0d2254
......@@ -315,7 +315,7 @@ dnl *** plug-ins to include ***
dnl Non ported plugins (non-dependant, then dependant)
dnl Make sure you have a space before and after all plugins
GST_PLUGINS_NONPORTED="deinterlace interleave flx \
GST_PLUGINS_NONPORTED="deinterlace flx \
videobox \
cairo cairo_gobject dv1394 gdk_pixbuf \
oss oss4 \
......
......@@ -453,9 +453,13 @@ src_handoff_float32_8ch (GstElement * src, GstBuffer * buf, GstPad * pad,
}
}
buf = gst_buffer_new ();
gst_buffer_append_memory (buf, gst_memory_new_wrapped (0, data,
size, 0, size, data, g_free));
if (gst_buffer_n_memory (buf)) {
gst_buffer_replace_memory_range (buf, 0, -1,
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_TIMESTAMP (buf) = 0;
}
......
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