Remove duplicated defines 10/261710/5
authorSangchul Lee <sc11.lee@samsung.com>
Fri, 23 Jul 2021 05:55:12 +0000 (14:55 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 27 Jul 2021 01:00:54 +0000 (10:00 +0900)
[Version] 0.2.56
[Issue Type] Clean-up

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

index d5080930c9ede0a7efd2797cc1ac40fd279d8a7a..30a725e231891234c42ba202313f385d0de770e0 100644 (file)
@@ -232,6 +232,14 @@ do { \
 #define WEBRTC_DISPLAY_TYPE_ECORE_WL    2
 #define PAYLOAD_ID_BITS                 32 /* 96 ~ 127 */
 
+/* NOTE : GstAutoplugSelectResult is defined in gstplay-enum.h but not exposed
+ We are defining our own and will be removed when it actually exposed */
+typedef enum {
+       GST_AUTOPLUG_SELECT_TRY,
+       GST_AUTOPLUG_SELECT_EXPOSE,
+       GST_AUTOPLUG_SELECT_SKIP
+} GstAutoplugSelectResult;
+
 #define SIGNALING_MESSAGE_PREFIX_CONNECTED           "CONNECTED"
 #define SIGNALING_MESSAGE_PREFIX_REQUEST_SESSION     "REQUEST_SESSION"
 #define SIGNALING_MESSAGE_PREFIX_SESSION_ESTABLISHED "SESSION_ESTABLISHED"
index 8db218b874107f525efe7a85198e05a6a3e5ff93..af576d39ee8090be46d8c3a7f7b73f9daaed8a20 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-webrtc
 Summary:    A WebRTC library in Tizen Native API
-Version:    0.2.55
+Version:    0.2.56
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index 1b6a35c3f27b89ef20146ce9cf0eb5b542ab667b..171a7ecb509460cf495c61a7966ed208347824ef 100644 (file)
@@ -378,12 +378,6 @@ static bool __is_factory_name_for_hw(gchar *factory_name)
 
 int _decodebin_autoplug_select_cb(GstElement *decodebin, GstPad *pad, GstCaps *caps, GstElementFactory *factory, gpointer user_data)
 {
-       /* NOTE : Similar enum is defined with GstAutoplugSelectResult in gstplay-enum.h but not exposed */
-       enum {
-               GST_AUTOPLUG_SELECT_TRY,
-               GST_AUTOPLUG_SELECT_EXPOSE,
-               GST_AUTOPLUG_SELECT_SKIP
-       };
        gchar *factory_name;
        const gchar *klass;
        webrtc_s *webrtc = (webrtc_s *)user_data;
index f611a61a4491daea3e38e00a08201ff1f52c606b..3fff12675c391bb2c99e9afe0669b2592f06050b 100644 (file)
 #define DEFAULT_NAME_AUDIO_PAYLOAD    "audioPayload"
 #define DEFAULT_NAME_VIDEO_PAYLOAD    "videoPayload"
 
-/* NOTE : GstAutoplugSelectResult is defined in gstplay-enum.h but not exposed
- We are defining our own and will be removed when it actually exposed */
-typedef enum {
-       GST_AUTOPLUG_SELECT_TRY,
-       GST_AUTOPLUG_SELECT_EXPOSE,
-       GST_AUTOPLUG_SELECT_SKIP
-} GstAutoplugSelectResult;
-
 #define APPEND_ELEMENT(x_list, x_element) \
 do { \
        if (!(x_element)) \