[0.6.136] remove unused property that is set to pulsesink 34/203334/1
authorSangchul Lee <sc11.lee@samsung.com>
Wed, 10 Apr 2019 07:06:39 +0000 (16:06 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Thu, 11 Apr 2019 23:57:52 +0000 (08:57 +0900)
- media.focus_id was used for session backward compatibility.

Change-Id: I4bccf950f805e0b3c8a8646c62e21f748575dfc4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/libmm-player.spec
src/include/mm_player_priv.h
src/mm_player_priv.c

index bfb1b40..5d90858 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-player
 Summary:    Multimedia Framework Player Library
-Version:    0.6.135
+Version:    0.6.136
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
index c767fb1..87bf4d6 100644 (file)
@@ -407,7 +407,6 @@ typedef struct {
        float volume;
        int mute;
        int bluetooth;  /* enable/disable */
-       int focus_id;
        bool rg_enable;
 } MMPlayerSoundInfo;
 
index ef4dbaf..64b1e7d 100644 (file)
@@ -3149,16 +3149,11 @@ void __mmplayer_gst_set_audiosink_property(mm_player_t* player, MMHandleType att
        if (!stream_type) {
                LOGE("stream_type is null.\n");
        } else {
-               if (player->sound.focus_id)
-                       snprintf(stream_props, sizeof(stream_props)-1, "props,media.role=%s, media.parent_id=%d, media.focus_id=%d",
-                                       stream_type, stream_id, player->sound.focus_id);
-               else
-                       snprintf(stream_props, sizeof(stream_props)-1, "props,media.role=%s, media.parent_id=%d",
-                                       stream_type, stream_id);
+               snprintf(stream_props, sizeof(stream_props) - 1, "props,media.role=%s, media.parent_id=%d",
+                               stream_type, stream_id);
                props = gst_structure_from_string(stream_props, NULL);
                g_object_set(player->pipeline->audiobin[MMPLAYER_A_SINK].gst, "stream-properties", props, NULL);
-               LOGI("stream_type[%s], stream_id[%d], focus_id[%d], result[%s].\n",
-                       stream_type, stream_id, player->sound.focus_id, stream_props);
+               LOGI("stream_type[%s], stream_id[%d], result[%s].", stream_type, stream_id, stream_props);
                gst_structure_free(props);
        }