[aravis/aravis-0-2] gv_device: Changed parameter for g_object_set from "never" to ARV_GV_STREAM_PACKET_RESEND_NEVER.



commit 25023e9541cbb89f1e6bbbf62d64702c09ec34f8
Author: Edgar Thier <edgarthier gmail com>
Date:   Sun Apr 28 17:53:35 2013 +0200

    gv_device: Changed parameter for g_object_set from "never" to ARV_GV_STREAM_PACKET_RESEND_NEVER.
    
    This change brings the packet-resend value into a valid range.

 src/arvgvdevice.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/arvgvdevice.c b/src/arvgvdevice.c
index 1785d7d..c46a52a 100644
--- a/src/arvgvdevice.c
+++ b/src/arvgvdevice.c
@@ -780,7 +780,7 @@ arv_gv_device_create_stream (ArvDevice *device, ArvStreamCallback callback, void
        }
 
        if (!gv_device->priv->is_packet_resend_supported)
-               g_object_set (stream, "packet-resend", "never", NULL); 
+               g_object_set (stream, "packet-resend", ARV_GV_STREAM_PACKET_RESEND_NEVER, NULL); 
 
        arv_debug_device ("[GvDevice::create_stream] Stream port = %d", stream_port);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]