[0.6.176] fix mpegversion check error 16/202216/1
authorEunhye Choi <eunhae1.choi@samsung.com>
Tue, 26 Mar 2019 06:01:25 +0000 (15:01 +0900)
committerEunhye Choi <eunhae1.choi@samsung.com>
Tue, 26 Mar 2019 06:01:28 +0000 (15:01 +0900)
- side issue of 57620e03b5c6f545a1e458f7c62ef3976593b1c5
  which was modified to apply tizen coding rule.
- this is string from gstreamer caps structure.

Change-Id: Ic3ac556d6011df401cb5243aa24c336f136269fc

packaging/libmm-player.spec
src/mm_player_priv.c

index 1c69173..159c16e 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-player
 Summary:    Multimedia Framework Player Library
-Version:    0.6.175
+Version:    0.6.176
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
index 864870d..c241425 100644 (file)
@@ -5679,7 +5679,7 @@ static gboolean
 __mmplayer_is_only_mp3_type(gchar *str_caps)
 {
        if (g_strrstr(str_caps, "application/x-id3") ||
-               (g_strrstr(str_caps, "audio/mpeg") && g_strrstr(str_caps, "mpegversion= (int)1")))
+               (g_strrstr(str_caps, "audio/mpeg") && g_strrstr(str_caps, "mpegversion=(int)1")))
                return TRUE;
        return FALSE;
 }
@@ -9224,7 +9224,7 @@ __mmplayer_set_playing_state(mm_player_t *player)
                else if (g_strrstr(player->type, "audio/x-amr"))
                        audio_codec = "AMR";
                else if (g_strrstr(player->type, "audio/mpeg")
-                               && !g_strrstr(player->type, "mpegversion= (int)1"))
+                               && !g_strrstr(player->type, "mpegversion=(int)1"))
                        audio_codec = "AAC";
                else
                        audio_codec = "unknown";