[0.6.235] Fix crash when audiobin is not generated 36/242836/1 accepted/tizen/unified/20200902.011936 submit/tizen/20200901.071833
authorGilbok Lee <gilbok.lee@samsung.com>
Tue, 1 Sep 2020 06:48:19 +0000 (15:48 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Tue, 1 Sep 2020 06:48:21 +0000 (15:48 +0900)
Change-Id: I05732a540fb985d658ed474f9df26b21f527ddba

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

index 84cbf1f..e3e5f6d 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-player
 Summary:    Multimedia Framework Player Library
-Version:    0.6.234
+Version:    0.6.235
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
index 386a752..fbf5c9b 100644 (file)
@@ -109,7 +109,7 @@ static bool __mmplayer_commit_audio_pitch_value(MMHandleType handle, int attr_id
 
        MMPLAYER_FENTER();
        MMPLAYER_RETURN_VAL_IF_FAIL(player && value, false);
-       MMPLAYER_RETURN_VAL_IF_FAIL(player->pipeline && player->pipeline->mainbin, true);
+       MMPLAYER_RETURN_VAL_IF_FAIL(player->pipeline && player->pipeline->audiobin, true);
 
        pipeline = player->pipeline;
        mm_attrs_get_int_by_name(player->attrs, MM_PLAYER_PITCH_CONTROL, &pitch_control);