webrtc_source_file: rename function name _remove_filesrc_pad_block_probe to _remove_a... 81/279081/5
authorhj kim <backto.kim@samsung.com>
Tue, 2 Aug 2022 02:30:35 +0000 (11:30 +0900)
committerhj kim <backto.kim@samsung.com>
Tue, 2 Aug 2022 05:50:02 +0000 (14:50 +0900)
[Version] 0.3.186
[Issue Type] Improvement

Change-Id: Ib12837ff188de9716a62120dd2b0104627bbfa2e

include/webrtc_private.h
packaging/capi-media-webrtc.spec
src/webrtc_private.c
src/webrtc_source_file.c

index b7d1860374daab02a78072212d290a4c5a37595d..5c94d1456515c090f7319432e8f84f30ee12ab3d 100644 (file)
@@ -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);
index 9e4f3c9b94a379da11e2774ea8a815ab366d96ab..bf95102c853446714cd5035a7ea13cf9bde19577 100644 (file)
@@ -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
index 5cc95bc1c61dc945c206bfe2dfdefd37dfd6c158..42871bd04f1b6db70c92674a610c7cab125b1648 100644 (file)
@@ -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]);
index b205c222c1addb7b0a63226cbf732e4fd3a5aed1..72b21cdf265d46af67b21dcbe71de026d66c4244 100644 (file)
@@ -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");