[longomatch] Use integer to pass the property



commit a8a2fc45860902dd8e081e06db1f3af072295f60
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Fri Jul 23 22:34:11 2010 +0200

    Use integer to pass the property

 libcesarplayer/src/gst-camera-capturer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libcesarplayer/src/gst-camera-capturer.c b/libcesarplayer/src/gst-camera-capturer.c
index 39de425..8a59501 100644
--- a/libcesarplayer/src/gst-camera-capturer.c
+++ b/libcesarplayer/src/gst-camera-capturer.c
@@ -1214,7 +1214,7 @@ gst_camera_capturer_set_video_encoder (GstCameraCapturer * gcc,
     case VIDEO_ENCODER_MPEG4:
       gcc->priv->videoenc =
           gst_element_factory_make ("ffenc_mpeg4", "video-encoder");
-      g_object_set (gcc->priv->videoenc, "pass", "pass1",
+      g_object_set (gcc->priv->videoenc, "pass", 512,
           "max-key-interval", -1, NULL);
       name = "FFmpeg mpeg4 video encoder";
       break;



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