From: He Qiang Date: Fri, 14 Jun 2013 02:10:16 +0000 (+0800) Subject: Set max-size-time and max-size-buffers to disable X-Git-Tag: 2.2.1_release~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=55d9ab63b0dce1b29db8987d6bc84fbdb039774c;p=framework%2Fmultimedia%2Flibmm-camcorder.git Set max-size-time and max-size-buffers to disable Change-Id: I4f029062badf44f0acd832f501386de5406bb1b1 --- diff --git a/packaging/libmm-camcorder.spec b/packaging/libmm-camcorder.spec index a11b3f2..f41b1bf 100644 --- a/packaging/libmm-camcorder.spec +++ b/packaging/libmm-camcorder.spec @@ -1,6 +1,6 @@ Name: libmm-camcorder Summary: Camera and recorder library -Version: 0.7.11 +Version: 0.7.12 Release: 0 Group: libs License: Apache-2.0 diff --git a/src/mm_camcorder_gstcommon.c b/src/mm_camcorder_gstcommon.c index c943783..c832907 100644 --- a/src/mm_camcorder_gstcommon.c +++ b/src/mm_camcorder_gstcommon.c @@ -1068,6 +1068,8 @@ int _mmcamcorder_create_encodesink_bin(MMHandleType handle, MMCamcorderEncodebin &use_aenc_queue); if (use_aenc_queue) { _MMCAMCORDER_ENCODEBIN_ELMGET(sc, _MMCAMCORDER_ENCSINK_AENC_QUE, "use-aenc-queue", err); + MMCAMCORDER_G_OBJECT_SET(sc->encode_element[_MMCAMCORDER_ENCSINK_AENC_QUE].gst,"max-size-time",0); + MMCAMCORDER_G_OBJECT_SET(sc->encode_element[_MMCAMCORDER_ENCSINK_AENC_QUE].gst,"max-size-buffers",0); } }