From: Sangchul Lee Date: Mon, 30 Aug 2021 09:21:22 +0000 (+0900) Subject: webrtc_source: Set omitted display->sink_element in case of OVERLAY display type X-Git-Tag: submit/tizen/20210901.024939~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd37e4864fe9791ca4db76ea16e1d8e048bb26aa;p=platform%2Fcore%2Fapi%2Fwebrtc.git webrtc_source: Set omitted display->sink_element in case of OVERLAY display type It will be used when setting a display mode/visible to the track id of video loopback pipeline. [Version] 0.2.89 [Issue Type] Bug fix Change-Id: I03cc2b3807495d3851643fc804f03570ad2ebab8 Signed-off-by: Sangchul Lee --- diff --git a/packaging/capi-media-webrtc.spec b/packaging/capi-media-webrtc.spec index 3b309c64..7b098fb4 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.2.88 +Version: 0.2.89 Release: 0 Group: Multimedia/API License: Apache-2.0 diff --git a/src/webrtc_source.c b/src/webrtc_source.c index 4a5c8cab..4eb2ef0c 100644 --- a/src/webrtc_source.c +++ b/src/webrtc_source.c @@ -3529,6 +3529,7 @@ static int __build_loopback_videosink(webrtc_gst_slot_s *source, GstElement *lin NULL); source->display->mode = WEBRTC_DISPLAY_MODE_LETTER_BOX; source->display->visible = true; + source->display->sink_element = videosink; } else if (source->display->type == WEBRTC_DISPLAY_TYPE_EVAS) { g_object_set(videosink, "signal-handoffs", TRUE, NULL);