webrtc_source: Change log level of peer pad check 43/278843/3
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 26 Jul 2022 23:21:49 +0000 (08:21 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Wed, 27 Jul 2022 01:31:19 +0000 (10:31 +0900)
It could not be an error since we've changed the timing of link.

[Version] 0.3.177
[Issue Type] Log

Change-Id: I9ca8ba25f02ef3cb590f6b3be9d49fa6879d6c21
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/capi-media-webrtc.spec
src/webrtc_source.c

index 03c95751f9b5d955ef5e9a5e14a1339d00b166a0..834d0029bb84941ff0a491d5bcc6c23132553504 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-webrtc
 Summary:    A WebRTC library in Tizen Native API
-Version:    0.3.176
+Version:    0.3.177
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index b93798157ee595a8d063a84e8efbfaed8a21db1b..77dede39859fb74b5cc93d216dfae9fff542c3e7 100644 (file)
@@ -756,7 +756,10 @@ static gboolean __foreach_src_pad_cb(GstElement *element, GstPad *pad, gpointer
 
        RET_VAL_IF(source == NULL, FALSE, "source is NULL");
        RET_VAL_IF(source->webrtc == NULL, FALSE, "webrtc is NULL");
-       RET_VAL_IF(peer == NULL, TRUE, "peer pad is NULL");
+       if (!peer) {
+               LOG_DEBUG("peer pad is NULL");
+               return TRUE;
+       }
 
        LOG_DEBUG("about to release request pad[%s]", GST_PAD_NAME(peer));