_attrs.c cleanup 21/48221/1
authoryounghwan <younghwan_.an@samsung.com>
Wed, 16 Sep 2015 11:02:24 +0000 (20:02 +0900)
committeryounghwan <younghwan_.an@samsung.com>
Wed, 16 Sep 2015 11:02:37 +0000 (20:02 +0900)
Change-Id: I710de79b281446900ff40179160223e9f1c52e6d

src/mm_player_attrs.c

index fbd74eb..d49342c 100644 (file)
 |  INCLUDE FILES                                                                                                                                                       |
 |                                                                                                                                                                                      |
 ========================================================================================== */
-#include <vconf.h>
 #include <mm_attrs_private.h>
 #include <mm_attrs.h>
-#include <gst/video/videooverlay.h>
 #include "mm_player_utils.h"
 #include "mm_player_priv.h"
 #include "mm_player_attrs.h"
@@ -207,8 +205,6 @@ _mmplayer_construct_attribute(MMHandleType handle)
        MMHandleType attrs = 0;
        int num_of_attrs = 0;
        mmf_attrs_construct_info_t *base = NULL;
-       //gchar *system_ua = NULL;
-       gchar *system_proxy = NULL;
 
        return_val_if_fail (handle, 0);
 
@@ -1139,24 +1135,6 @@ _mmplayer_construct_attribute(MMHandleType handle)
                }
        }
 
-       #if 0
-       /* set proxy and user agent */
-       system_ua = vconf_get_str(VCONFKEY_ADMIN_UAGENT);
-       system_proxy = vconf_get_str(VCONFKEY_NETWORK_PROXY);
-
-       if (system_ua)
-       {
-                       mm_attrs_set_string_by_name(attrs, "streaming_user_agent", system_ua);
-                       g_free(system_ua);
-       }
-       #endif
-
-       if (system_proxy)
-       {
-                       mm_attrs_set_string_by_name(attrs, "streaming_proxy", system_proxy);
-                       g_free(system_proxy);
-       }
-
        /* commit */
        mmf_attrs_commit(attrs);