From 8bc591b17190e6de1a29be7db29ef8eaf15927ed Mon Sep 17 00:00:00 2001 From: Sangchul Lee Date: Tue, 3 Nov 2020 15:44:09 +0900 Subject: [PATCH] webrtc_source: Use 'ball' pattern of videotestsrc for default It is added to check frame rate variation more easily by looking at the display. [Version] 0.1.46 [Issue Type] Improvement Change-Id: I298cd809f2e17e21e694ca921223db8115f66027 Signed-off-by: Sangchul Lee --- packaging/capi-media-webrtc.spec | 2 +- src/webrtc_source.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/capi-media-webrtc.spec b/packaging/capi-media-webrtc.spec index 36eb2fd9..20910378 100644 --- a/packaging/capi-media-webrtc.spec +++ b/packaging/capi-media-webrtc.spec @@ -1,6 +1,6 @@ Name: capi-media-webrtc Summary: A WebRTC library in Tizen Native API -Version: 0.1.45 +Version: 0.1.46 Release: 0 Group: Multimedia/API License: Apache-2.0 diff --git a/src/webrtc_source.c b/src/webrtc_source.c index e1310a84..a47743c1 100644 --- a/src/webrtc_source.c +++ b/src/webrtc_source.c @@ -397,7 +397,7 @@ static int __build_videotestsrc(webrtc_s *webrtc, webrtc_gst_slot_s *source, Gst LOG_ERROR("failed to create videotestsrc"); return WEBRTC_ERROR_INVALID_OPERATION; } - g_object_set(G_OBJECT(videotestsrc), "is-live", TRUE, NULL); + g_object_set(G_OBJECT(videotestsrc), "is-live", TRUE, "pattern", 18, NULL); /* 18: ball */ if ((ret = __create_rest_of_elements(webrtc, source, WEBRTC_MEDIA_SOURCE_TYPE_VIDEOTEST, &capsfilter, &videoenc, &videopay, &queue, &capsfilter2)) != WEBRTC_ERROR_NONE) return ret; -- 2.34.1