ducatih264enc: fix hrd-buffer-size property type
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 17 Oct 2012 13:25:03 +0000 (13:25 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 17 Oct 2012 13:49:45 +0000 (13:49 +0000)
It is unsigned, not signed.

src/gstducatih264enc.c

index bc0fd316169e981f37310a09edc5d4f01cd46435..05edc38ce39b1cb01c05d648afd6666d3f88a0b5 100644 (file)
@@ -490,7 +490,7 @@ gst_ducati_h264enc_get_property (GObject * object, guint prop_id,
       g_value_set_int (value, self->qp_max_i);
       break;
     case PROP_HRD_BUFFER_SIZE:
-      g_value_set_int (value, self->hrd_buffer_size);
+      g_value_set_uint (value, self->hrd_buffer_size);
       break;
     case PROP_ENTROPY_CODING_MODE:
       g_value_set_enum (value, self->entropy_coding_mode);