From: hj kim Date: Tue, 2 Aug 2022 02:30:35 +0000 (+0900) Subject: webrtc_source_file: rename function name _remove_filesrc_pad_block_probe to _remove_a... X-Git-Tag: submit/tizen/20220802.115810~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=effc81487423d4a4a48eb178f99c97db0d7329c2;p=platform%2Fcore%2Fapi%2Fwebrtc.git webrtc_source_file: rename function name _remove_filesrc_pad_block_probe to _remove_all_filesrc_pad_block_probe [Version] 0.3.186 [Issue Type] Improvement Change-Id: Ib12837ff188de9716a62120dd2b0104627bbfa2e --- diff --git a/include/webrtc_private.h b/include/webrtc_private.h index b7d18603..5c94d145 100644 --- a/include/webrtc_private.h +++ b/include/webrtc_private.h @@ -648,7 +648,7 @@ bool _is_verbose_log(void); int _gst_filesrc_pipeline_set_state(webrtc_s *webrtc, GstState state); int _set_filesrc_looping(webrtc_s *webrtc, unsigned int source_id, bool looping); int _get_filesrc_looping(webrtc_s *webrtc, unsigned int source_id, bool *looping); -int _remove_filesrc_pad_block_probe(webrtc_s *webrtc); +int _remove_all_filesrc_pad_block_probes(webrtc_s *webrtc); void _set_filesrc_media_types(webrtc_gst_slot_s *source, const char *path); int _build_filesrc_pipeline(webrtc_s *webrtc, webrtc_gst_slot_s *source); void _destroy_filesrc_pipeline(webrtc_gst_slot_s *source); diff --git a/packaging/capi-media-webrtc.spec b/packaging/capi-media-webrtc.spec index 9e4f3c9b..bf95102c 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.3.185 +Version: 0.3.186 Release: 0 Group: Multimedia/API License: Apache-2.0 diff --git a/src/webrtc_private.c b/src/webrtc_private.c index 5cc95bc1..42871bd0 100644 --- a/src/webrtc_private.c +++ b/src/webrtc_private.c @@ -393,7 +393,7 @@ void _invoke_state_changed_cb(webrtc_s *webrtc, webrtc_state_e old, webrtc_state if (new == WEBRTC_STATE_PLAYING) { _init_stats_all_fields_list(); _set_stats_timer(webrtc); - _remove_filesrc_pad_block_probe(webrtc); + _remove_all_filesrc_pad_block_probes(webrtc); } GENERATE_DOT(webrtc, webrtc->gst.pipeline, "%s.state_%s", GST_ELEMENT_NAME(webrtc->gst.pipeline), __state_str[webrtc->state]); diff --git a/src/webrtc_source_file.c b/src/webrtc_source_file.c index b205c222..72b21cdf 100644 --- a/src/webrtc_source_file.c +++ b/src/webrtc_source_file.c @@ -101,7 +101,7 @@ static void __remove_filesrc_pad_block_foreach_cb(gpointer key, gpointer value, } } -int _remove_filesrc_pad_block_probe(webrtc_s *webrtc) +int _remove_all_filesrc_pad_block_probes(webrtc_s *webrtc) { RET_VAL_IF(webrtc == NULL, WEBRTC_ERROR_INVALID_PARAMETER, "webrtc is NULL");