basecamerabinsrc: updating property to new name

enable-last-buffer is now enable-last-sample
This commit is contained in:
Thiago Santos 2012-05-01 10:26:27 -03:00
parent 79d3cc533f
commit 89a20eb63e

View file

@ -148,7 +148,7 @@ gst_camerabin_create_preview_pipeline (GstElement * element,
}
g_object_set (data->appsrc, "emit-signals", FALSE, NULL);
g_object_set (data->appsink, "sync", FALSE, "enable-last-buffer",
g_object_set (data->appsink, "sync", FALSE, "enable-last-sample",
FALSE, NULL);
gst_bin_add_many (GST_BIN (data->pipeline), data->appsrc,