[byzanz] Add a note to the .byzanz encoder about not using the run vfunc
- From: Benjamin Otte <otte src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [byzanz] Add a note to the .byzanz encoder about not using the run vfunc
- Date: Mon, 8 Feb 2010 17:18:19 +0000 (UTC)
commit 06781a8fc175ffb42c6af2e45a59a7db888c43d2
Author: Benjamin Otte <otte gnome org>
Date: Thu Sep 3 11:24:48 2009 +0200
Add a note to the .byzanz encoder about not using the run vfunc
src/byzanzencoderbyzanz.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/byzanzencoderbyzanz.c b/src/byzanzencoderbyzanz.c
index 33667a0..868a45b 100644
--- a/src/byzanzencoderbyzanz.c
+++ b/src/byzanzencoderbyzanz.c
@@ -68,6 +68,9 @@ byzanz_encoder_byzanz_class_init (ByzanzEncoderByzanzClass *klass)
{
ByzanzEncoderClass *encoder_class = BYZANZ_ENCODER_CLASS (klass);
+ /* We don't use the run vfunc and just g_output_stream_slice() here,
+ * because this way we get data verification.
+ */
encoder_class->setup = byzanz_encoder_byzanz_setup;
encoder_class->process = byzanz_encoder_byzanz_process;
encoder_class->close = byzanz_encoder_byzanz_close;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]