player_unset_interrupted_cb(player_);
player_unset_error_cb(player_);
player_unset_buffering_cb(player_);
- player_unset_media_packet_video_frame_decoded_cb(player_);
if (GetPlayerState() > PLAYER_STATE_READY &&
player_stop(player_) != PLAYER_ERROR_NONE) {
LOG(ERROR) << "|player_stop| failed";
}
+#if defined(TIZEN_VIDEO_HOLE)
+ if (!is_video_hole_)
+#endif
+ player_unset_media_packet_video_frame_decoded_cb(player_);
+
if (GetPlayerState() > PLAYER_STATE_IDLE &&
player_unprepare(player_) != PLAYER_ERROR_NONE)
LOG(ERROR) << "|player_unprepare| failed";