[0.6.249] Post MMM_MESSAGE_INTERRUPT_STARTED message, before send seek event to sink 51/252951/4 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/hotfix/20210219.054809 submit/tizen_6.0_hotfix/20210218.051458
authorGilbok Lee <gilbok.lee@samsung.com>
Mon, 15 Feb 2021 05:20:00 +0000 (14:20 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Mon, 15 Feb 2021 06:03:24 +0000 (15:03 +0900)
Change-Id: Iee40c8761ea3a89f1410fd682b6975b1bb7490f7

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

index da45e0a..0bc782c 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-player
 Summary:    Multimedia Framework Player Library
-Version:    0.6.248
+Version:    0.6.249
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
index 89d50f3..7fface7 100644 (file)
@@ -3912,6 +3912,10 @@ _mmplayer_gst_seek(mmplayer_t *player, GstElement *element, gdouble rate,
        event = gst_event_new_seek(rate, format, flags, cur_type,
                cur, stop_type, stop);
 
+       if (flags & GST_SEEK_FLAG_FLUSH)
+               /* TODO : The name of message type will be changed */
+               MMPLAYER_POST_MSG(player, MM_MESSAGE_INTERRUPT_STARTED, NULL);
+
        result = _mmplayer_gst_send_event_to_sink(player, event);
 
        MMPLAYER_FLEAVE();