From: Jeongmo Yang Date: Thu, 26 Oct 2017 05:20:21 +0000 (+0900) Subject: Fixate video caps to remove negotiation failure X-Git-Tag: accepted/tizen/unified/20171101.064709^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fmultimedia%2Flibmm-camcorder.git;a=commitdiff_plain;h=e7943fa32ecbb989cb81c02de118378c2095dc6f Fixate video caps to remove negotiation failure On ARTIK530, negotiation failure is occurred when try video recording. Because the caps from videosrc_queue is unfixated. [Version] 0.10.139 [Profile] Common [Issue Type] Bug fix [Dependency module] N/A [Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-4.0-unified_20171023.1] Change-Id: Ib489c2b4252edee019d1c4507974d815ecf5b1d9 Signed-off-by: Jeongmo Yang --- diff --git a/packaging/libmm-camcorder.spec b/packaging/libmm-camcorder.spec index b86a802..b247996 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.10.138 +Version: 0.10.139 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 diff --git a/src/mm_camcorder_gstcommon.c b/src/mm_camcorder_gstcommon.c index e4619bf..1af154a 100644 --- a/src/mm_camcorder_gstcommon.c +++ b/src/mm_camcorder_gstcommon.c @@ -827,6 +827,9 @@ int _mmcamcorder_create_encodesink_bin(MMHandleType handle, MMCamcorderEncodebin caps_from_pad = NULL; gst_object_unref(pad); pad = NULL; + + /* fixate caps */ + video_caps = gst_caps_fixate(video_caps); } else { /* Image */ MMCAMCORDER_G_OBJECT_GET(sc->element[_MMCAMCORDER_VIDEOSRC_FILT].gst, "caps", &video_caps);